Request for Feature Enhancement (RFE) Summary: |
We should have an improved way of authentication and authorization of GraphQL endpoint.In the current design, even unauthenticated or improperly authenticated requests are allowed to hit the endpoint with 200 response code. Instead we should have 401 or 403 response code with proper messages. |
Use-case: |
If we are doing any implementation on basis of response code the current implementation will not work as it will always giving 200 as response code. |
Current/Experienced Behavior: |
In the current design, even unauthenticated or improperly authenticated requests are allowed to hit the endpoint with 200 response code. |
Improved/Expected Behavior: |
If access token is not correct or request is unauthenticated then we should have 401 or 403 response code with proper error messages. |
Environment Details (AEM version/service pack, any other specifics if applicable): |
AEM as SaaS |
Customer-name/Organization name: |
|
Screenshot (if applicable): |
|
Code package (if applicable): |
|