Skip to content

Commit

Permalink
fix(providers): use idToken by default in Cognito provider (#3448)
Browse files Browse the repository at this point in the history
  • Loading branch information
Donivanes committed Dec 18, 2021
1 parent 48749d7 commit d1d2d97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/cognito.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default function Cognito<P extends Record<string, any> = CognitoProfile>(
name: "Cognito",
type: "oauth",
wellKnown: `${options.issuer}/.well-known/openid-configuration`,
idToken: true,
profile(profile) {
return {
id: profile.sub,
Expand Down

0 comments on commit d1d2d97

Please sign in to comment.