1916Eco
1916Eco
TTCTheo's Typesafe Cult
Created by 1916Eco on 1/14/2024 in #questions
React and ShadcnUI how to make a whole card clickable to change a radioGroup
No description
2 replies
TTCTheo's Typesafe Cult
Created by 1916Eco on 11/22/2022 in #questions
NextAuth Google Provider not working
I am trying to set up a sign in with google button I have the GOOGLE ID and Secret thing in the env and I console.log-ed it and it shows, but for some reason when I try log in, it just puts that error in the terminal.
adapter: PrismaAdapter(prisma),
providers: [
GoogleProvider({
clientId: env.NEXTAUTH_SECRET_GOOGLE_CLIENT_ID,
clientSecret: env.NEXTAUTH_SECRET_GOOGLE_SECRET,
}),
],
//ERROR
`[next-auth][error][SIGNIN_OAUTH_ERROR]
https://next-auth.js.org/errors#signin_oauth_error "ikm" must be at least one byte in length {
error: {
message: '"ikm" must be at least one byte in length',
stack: 'TypeError: "ikm" must be at least one byte in length\n' +`
adapter: PrismaAdapter(prisma),
providers: [
GoogleProvider({
clientId: env.NEXTAUTH_SECRET_GOOGLE_CLIENT_ID,
clientSecret: env.NEXTAUTH_SECRET_GOOGLE_SECRET,
}),
],
//ERROR
`[next-auth][error][SIGNIN_OAUTH_ERROR]
https://next-auth.js.org/errors#signin_oauth_error "ikm" must be at least one byte in length {
error: {
message: '"ikm" must be at least one byte in length',
stack: 'TypeError: "ikm" must be at least one byte in length\n' +`
11 replies