hasura / hasura/graphql-engine
docs: test for `access_token` in auth0 guide
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
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`).
Contributor guide
Research direction
Read the existing “Test Auth0 login and generate sample JWTs for testing” section in the linked Auth0 JWT guide, which documents Auth0.js and id_token testing. Determine how auth0-spa-js produces an access_token, then update the guide with equivalent testing instructions and verify that the access-token flow is documented clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100