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

signup with clerk and gmail auth strategy doesnt work #66

Open
hitesh97 opened this issue Mar 20, 2023 Discussed in #65 · 4 comments
Open

signup with clerk and gmail auth strategy doesnt work #66

hitesh97 opened this issue Mar 20, 2023 Discussed in #65 · 4 comments

Comments

@hitesh97
Copy link

Discussed in #65

Originally posted by hitesh97 March 20, 2023
Hi Chen,

Amazing work of setting up this repo and mono-repo as well as the video 👍

I followed all the steps and created the setup word by word.

When I try to sign-up with gmail strategy using clerk, it seems to redirect me to
http://localhost:3000/signup/sso-oauth/oauth_google Infinitely!

can you please let me know, if there is something I am missing? does clerk needs a redirect URL to be setup somewhere?
or is there anything in the nextjs router missing something?

i.e Sign-up => SignIn => not authenticated => Sign Up => sign In ....etc...etc..

Hope you can help as I would like to work on this set up for my pet project!

thanks for. amazing work anyways!

@EkaanshArora
Copy link

I am facing the same issue, followed the instructions to set up the project. After sign-in/sign-up, I get an infinite redirect.

Here's what I've tried so far:

  • Tried using mysql instead of sqlite
  • Tried using a personal clerk account instead of the keys bundled with the repo
  • Tried using the CLI to scaffold instead of cloning the repo

Great work on setting this up, let me know if there are other steps we can take to narrow down the issue. Thank you!

@hitesh97
Copy link
Author

so, I had not set up Google authentication keys etc and not associated google auth with clerk..
But even after setting up google authentication with clerk, there seems to be error, when its trying to save user's information, i.e. session and user info..on to postgre sql server..
so I am investigating that .. and if I get it to work, I will post PR for that.. 👍

@Tactile-Taco
Copy link

Tactile-Taco commented Mar 22, 2023

I've been facing the same issue with every authentication method, however I haven't tried with newer versions of CUA so some of what I was facing may have been fixed.

@nikshepsvn
Copy link

facing same issue

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

No branches or pull requests

4 participants