Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
7.2.x, 7.1.x
-
Committed
-
Manual
Description
By forums:
If Liferay allows access based on Authorization header, I get back correctly the StructuredContent. However if I don't pass in a Authorization header at all, Liferay does not allow access and the following is returned with response code 200 OK:
{
"data":
,
"errors": [
]
}
I am rather new to GraphQL with auth and in the frontend app I want to choose to send the user to a login or display something useful if user is not authorized. Are there no error codes in the response ?