Help with REQUEST_FAILED using Google OAuth #426
-
Hi! Thanks so much for this project! As a caveat to this question I'm new to web development so I fully expect this to be my fault, but I'm not sure what to do. I'm following the sveltekit lucia example template except using google instead of github. I've set up my credentials in google cloud, and have set my
And I've got the following code in
When I authenticate with google I get directed to the google UI, and the scopes show up correctly and it shows that it is my app from the cloud console making the request, I then accept and redirect back to my localhost, which goes to the correct route. In my logs I get to the
I've added my user to the test users in google cloud console as well, cleared the postgres database, and re-ran the prisma migration. I've tried in incognito window and multiple users, and I'm at a bit of a loss for what I can do to solve this. I see that the request coming back from google has the scope, state, and code set, and the Thanks for any help you're able to provide :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
From some more reading it looks like Google might require an API key in the auth request? I don't see where I can provide one to lucia, but I would also imagine I'm not the first person to use the Google OAuth provider and I must be doing something else wrong. |
Beta Was this translation helpful? Give feedback.
From some more reading it looks like Google might require an API key in the auth request? I don't see where I can provide one to lucia, but I would also imagine I'm not the first person to use the Google OAuth provider and I must be doing something else wrong.