Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env file update #4

Closed
wants to merge 1 commit into from
Closed

env file update #4

wants to merge 1 commit into from

Conversation

EYOELTEKLE
Copy link

Because of nextauth update,
the google client id and client secret have to be corrected (https://next-auth.js.org/providers/google)
[...nextauth].js file should be updated as well ,
import GoogleProvider from "next-auth/providers/google";
...
providers: [
GoogleProvider({
clientId: process.env.GOOGLE_CLIENT_ID,
clientSecret: process.env.GOOGLE_CLIENT_SECRET
})
]

Because of nextauth update,
the google client id and client secret have to be corrected (https://next-auth.js.org/providers/google)
[...nextauth].js file should be updated as well ,
import GoogleProvider from "next-auth/providers/google";
...
providers: [
  GoogleProvider({
    clientId: process.env.GOOGLE_CLIENT_ID,
    clientSecret: process.env.GOOGLE_CLIENT_SECRET
  })
]
@vercel
Copy link

vercel bot commented May 9, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
amazon-starter-template-nextjs ✅ Ready (Inspect) Visit Preview May 9, 2022 at 4:06PM (UTC)

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant