We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 26a3de5 + 95b4191 commit a488a91Copy full SHA for a488a91
src/lib/auth.tsx
@@ -86,6 +86,7 @@ export const authOptions = {
86
}
87
}),
88
],
89
+ secret: process.env.SECRET,
90
callbacks: {
91
async signIn() {
92
// Return true to allow sign in and false to block sign in.
src/views/login/login.tsx
@@ -17,6 +17,7 @@ const LoginComponent = () => {
17
18
const handleLoginWithGoogle = async () => {
19
try {
20
+ console.log("handleLoginWithGoogle")
21
setLoading(true)
22
const googleSignInResponse = await signIn("cognito_google")
23
if (googleSignInResponse?.error) {
0 commit comments