Graphql-engine: read JWT from cookie header

Created on 14 May 2019  路  3Comments  路  Source: hasura/graphql-engine

When Hasura decoding the JWT token (instead of passing it to webhook), Can Hasura read JWT token from secure-http-only-cookie ? If so then what should be the name of the cookie?

server quickfix enhancement medium

Most helpful comment

hi! I see there's an open pr for this. can you give us an idea of when it might land in a release? and is there any help needed from the community here? thanks!

All 3 comments

@lishine Currently the JWT is expected as a bearer token in the Authorization header. Maybe this can be a setting, --jwt-from-cookie <cookie_name>?

It would be very nice! Otherwise hook is a must with cookies.

hi! I see there's an open pr for this. can you give us an idea of when it might land in a release? and is there any help needed from the community here? thanks!

Was this page helpful?
0 / 5 - 0 ratings