Updated Auth0 Recipe: Improved Steps, Service Account Tokens, and Testing #727
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description 📝
This PR includes several updates to the authentication recipe for Auth0 in the
docs/recipes/authentication/1-auth0.mdx
file. The changes focus on improving clarity and adding new steps for creating applications and handling service account access tokens.Updates to Auth0 Setup Steps:
Step 1: Create a new Auth0 application
[docs/recipes/authentication/1-auth0.mdxL40-R53](https://github.com/hasura/ddn-docs/pull/727/files#diff-f06f81dffd7f93585791770cf521e84cbaa08e3313485f0f5b6b93d538450c91L40-R53)
)Step 2: Create a new Auth0 Action
onExecutePostLogin
function. ([docs/recipes/authentication/1-auth0.mdxL58-R70](https://github.com/hasura/ddn-docs/pull/727/files#diff-f06f81dffd7f93585791770cf521e84cbaa08e3313485f0f5b6b93d538450c91L58-R70)
)Additional Configuration and Testing:
Step 3: Update AuthConfig
[[1]](https://github.com/hasura/ddn-docs/pull/727/files#diff-f06f81dffd7f93585791770cf521e84cbaa08e3313485f0f5b6b93d538450c91L78-R90)
,[[2]](https://github.com/hasura/ddn-docs/pull/727/files#diff-f06f81dffd7f93585791770cf521e84cbaa08e3313485f0f5b6b93d538450c91L95-R108)
)Step 4: Service account access token
[docs/recipes/authentication/1-auth0.mdxL107-R187](https://github.com/hasura/ddn-docs/pull/727/files#diff-f06f81dffd7f93585791770cf521e84cbaa08e3313485f0f5b6b93d538450c91L107-R187)
)Step 5: Test your configuration
[docs/recipes/authentication/1-auth0.mdxL107-R187](https://github.com/hasura/ddn-docs/pull/727/files#diff-f06f81dffd7f93585791770cf521e84cbaa08e3313485f0f5b6b93d538450c91L107-R187)
)Quick Links 🚀
Assertion Tests 🤖
The user should be able to easily integrate Auth0 with Hasura DDN.