Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
ci: 🐛 fix ci callback url
Browse files Browse the repository at this point in the history
  • Loading branch information
willin committed Dec 4, 2023
1 parent a58df51 commit cac1a5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sso.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ const ssoStrategy = new SSOStrategy(
{
clientID: env.SSO_ID,
clientSecret: env.SSO_SECRET,
callbackURL: 'http://localhost:8788/auth/sso/callback'
// 'https://svelte-auth.js.cool/auth/sso/callback'
callbackURL: env.SSO_CALLBACK_URL || 'http://localhost:8788/auth/sso/callback'
},
async ({ profile }) => {
// Get the user data from your DB or API using the tokens and profile
Expand Down

0 comments on commit cac1a5f

Please sign in to comment.