Skip to content

Commit

Permalink
adjust custom scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
codercatdev committed Apr 24, 2024
1 parent 1c48c60 commit f7f661f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions complete-application/src/app/api/auth/[...nextauth]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export const authOptions =
clientSecret: fusionAuthClientSecret,
wellKnown: `${fusionAuthUrl}/.well-known/openid-configuration/${fusionAuthTenantId}`,
tenantId: fusionAuthTenantId, // Only required if you're using multi-tenancy
authorization:{
params:{
scope: 'openid offline_access email profile'
}
}
}),
],
}
Expand Down

0 comments on commit f7f661f

Please sign in to comment.