Skip to content

Commit

Permalink
Added checks: ["pkce", "state", "nonce"]
Browse files Browse the repository at this point in the history
  • Loading branch information
roar-skinderviken committed Dec 10, 2024
1 parent 1e4a19d commit 002c6a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions next-app/src/auth/authProviders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const springBootProvider: Provider = {
clientId: "next-app-client",
clientSecret: process.env.OAUTH_CLIENT_SECRET || "secret",
type: "oauth",
checks: ["pkce", "state", "nonce"],
idToken: true,
wellKnown: `${OAUTH_BASE_URL}/.well-known/openid-configuration`,
authorization: {
Expand Down

0 comments on commit 002c6a6

Please sign in to comment.