0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

fix(console): fix next auth guide typo (#6478)

This commit is contained in:
wangsijie 2024-08-21 09:19:52 +08:00 committed by GitHub
parent 818e2c61f2
commit 2caeacaf93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,7 +80,7 @@ const handler = NextAuth({
// in the field "OpenID Provider configuration endpoint"
wellKnown: '${props.endpoint}oidc/.well-known/openid-configuration',
authorization: { params: { scope: 'openid offline_access profile email' } },
clientId: '${props.app.id}'',
clientId: '${props.app.id}',
clientSecret: '${props.secrets[0]?.value ?? props.app.secret}',
client: {
id_token_signed_response_alg: 'ES384',