AccessDenied
Unanswered
Standard Chinchilla posted this in #help-forum
Standard ChinchillaOP
Why when I try to log in with credentials I get an AccessDenied error. And when I remove the callbacks: {
signIn: socialProviderSignIn
}, everything works fine.
signIn: socialProviderSignIn
}, everything works fine.
2 Replies
Sounds like whatever you have in that signin callback is broken. Not sure where you got it from or if ti's something you did yourself.
@MikeTheTechLead Sounds like whatever you have in that signin callback is broken. Not sure where you got it from or if ti's something you did yourself.
Standard ChinchillaOP
signIn: socialProviderSignIn. It works with it without any problems. When I remove it or move it to GoogleProvider({
name: ‘Google’,
clientId: process.env.GOOGLE_ID,
clientSecret: process.env.GOOGLE_CLIENT_SECRET,
signIn: socialProviderSignIn
}),. then the authorise function works.
name: ‘Google’,
clientId: process.env.GOOGLE_ID,
clientSecret: process.env.GOOGLE_CLIENT_SECRET,
signIn: socialProviderSignIn
}),. then the authorise function works.