Hasura auth hook endpoint
The HASURA_GRAPHQL_AUTH_HOOK
endpoint for Hasura auth. Use this endpoint to integrate Hasura's webhook authentication flow.
Query parameters
-
Minimum length is
1
.
Responses
-
200 application/json
The authenticated user claims in Hasura format. See Hasura docs for more information.
-
Bad Request
-
Unauthorized
GET
/api/authn/hasura
curl \
-X GET https://[tenant_id].logto.app/api/authn/hasura?resource=string
Response examples (200)
{
"X-Hasura-User-Id": "string",
"X-Hasura-Role": "string"
}