From 9a5ab43a15e065095e23c3f4916f5bb5983e7318 Mon Sep 17 00:00:00 2001 From: Krushan Bauva Date: Fri, 6 Jan 2023 16:05:37 +0530 Subject: [PATCH] docs: add note regarding audience in auth0 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7452 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com> GitOrigin-RevId: 44e3371c1ac901dc45672bee20cd66ca994bf61f --- docs/docs/auth/authentication/integrations/auth0-jwt.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docs/auth/authentication/integrations/auth0-jwt.mdx b/docs/docs/auth/authentication/integrations/auth0-jwt.mdx index 2e6ab1176d9..84991a40763 100644 --- a/docs/docs/auth/authentication/integrations/auth0-jwt.mdx +++ b/docs/docs/auth/authentication/integrations/auth0-jwt.mdx @@ -118,6 +118,14 @@ For example: > ``` +:::info Audience + +You need to ensure that `audience` is set in the JWT. This can be done through appropriate client configuration or by +setting the default audience in the +[tenant settings](https://auth0.com/docs/get-started/tenant-settings#api-authorization-settings) of Auth0. + +::: + ## Test auth0 login and generate sample JWTs for testing You don't need to integrate your UI with Auth0 for testing. There are 2 ways you can test connections: