Skip to content

Commit

Permalink
fix: disable discord login
Browse files Browse the repository at this point in the history
  • Loading branch information
jeferson-sb committed Feb 10, 2024
1 parent ea452e9 commit 4e36e68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const Home: NextPage = () => {

initializeOneSignal(session.user.id, () => {
oneSignalInitiated.current = true;
console.log('window.OneSignal.initialized', window?.OneSignal?.initialized)
}, (e) => console.error(e))
}, [])

Expand Down
10 changes: 5 additions & 5 deletions src/server/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ export const authOptions: NextAuthOptions = {
clientId: env.GITHUB_CLIENT_ID,
clientSecret: env.GITHUB_SECRET,
}),
DiscordProvider({
clientId: env.DISCORD_CLIENT_ID,
clientSecret: env.DISCORD_CLIENT_SECRET,
authorization: { params: { scope: 'identify' } },
}),
// DiscordProvider({
// clientId: env.DISCORD_CLIENT_ID,
// clientSecret: env.DISCORD_CLIENT_SECRET,
// authorization: { params: { scope: 'identify' } },
// }),
GoogleProvider({
clientId: env.GOOGLE_CLIENT_ID,
clientSecret: env.GOOGLE_CLIENT_SECRET,
Expand Down

0 comments on commit 4e36e68

Please sign in to comment.