Skip to content

Commit

Permalink
fix: use callbackUrl, path doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
rawkode committed Jul 20, 2023
1 parent 61ff15f commit 2189bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/rawkode.academy/cms/src/payload.config.ts
Expand Up @@ -44,7 +44,7 @@ export default buildConfig({
clientSecret: process.env.OAUTH_CLIENT_SECRET,
authorizationURL: `${process.env.OAUTH_BASE_URL}/login/oauth/authorize`,
tokenURL: `${process.env.OAUTH_BASE_URL}/login/oauth/access_token`,
callbackPath: "/oauth2/callback",
callbackURL: `${process.env.DNS_NAME}/oauth2/callback`,
components: {
Button: SigninButton,
},
Expand Down

0 comments on commit 2189bca

Please sign in to comment.