hasura / graphql-engine

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
https://hasura.io
Apache License 2.0
31.03k stars 2.76k forks source link

docs: test for `access_token` in auth0 guide #3864

Open marionschleifer opened 4 years ago

marionschleifer commented 4 years ago

Currently, we only have instructions to test the Auth0 login if we use Auth0.js (which generates an id_token): https://docs.hasura.io/1.0/graphql/manual/guides/integrations/auth0-jwt.html#test-auth0-login-and-generate-sample-jwts-for-testing.

We need to come up with a way to test the same also if we use auth0-spa-js (which generates an access_token).

braginteractive commented 4 years ago

Can we not use accessToken with auth0-spa-js? The token it is returning is not working for me..