flat-fuchsia
flat-fuchsia2y ago

Unable to log into Refine. Whitescreen bug

Greetings, I am in the process of working on my first project utilizing Refine and was following a tutorial on YouTube. Unfortunately, I encountered an issue while attempting to log in with Google. Upon clicking the "Sign in with Google" button, I am presented with a blank, white screen and am unable to select any of my associated accounts. I have attempted to resolve the issue by utilizing multiple browsers, however, to no avail. Please find attached the relevant images for your perusal.
No description
No description
14 Replies
Omer
Omer2y ago
Hey @nX , @jsmastery have you any idea?
stormy-gold
stormy-gold2y ago
Check if the key you got from Google Console is being used properly. Console log it and check whether that's the one you generated there. Make sure to reload the console so that the .env is refreshed.
absent-sapphire
absent-sapphire2y ago
Just doublechecked and still have the same problem. I saw comments on the youtube video so I'd assume this isn't an isolated case
stormy-gold
stormy-gold2y ago
Could you please verify for me that you got your own key in the Google Console, you applied localhost:3000 as a domain, you put it in the .env, reloaded the terminal, and if you console log it before you're using it, you can see the key you copied from the Google console? @nX @gigasend
genetic-orange
genetic-orange2y ago
Hey guys good evening, I also faced this issue and im trying to solve it and figuring what is the cause of the errors but im out of sources. I double check the ID from the Google Console and it is the right one I copy and paste on my .env file. The first Image is where the first error will appear when I click the "Sign in with Google" btn and the second image when I create and try to run the project for the first time I can't log in the sample dashboard. I double check everything and it seems to be correct
No description
No description
optimistic-gold
optimistic-gold2y ago
I have been having similar issues with supabase on authentication...getting 401 errors though
Omer
Omer2y ago
Hey @hortinstein , We created a PR for supabase. It will be fixed soon @yildirayunlu https://github.com/refinedev/refine/pull/3589
GitHub
fix: supabase auth provider checkAuth method by yildirayunlu · Pull...
Fix Supabase auth provider checkAuth method.
optimistic-gold
optimistic-gold2y ago
Thank you, appreciate your teams responsiveness!
national-gold
national-gold2y ago
Did you manage to solve this problem? Sorry, my fault, I didn`t look carefully, everything works
absent-sapphire
absent-sapphire2y ago
Here's the solution guys: you need to clear your browsing data... all of it. It fixed the problem for me
optimistic-gold
optimistic-gold2y ago
confirmed this worked for me!
itchy-amethyst
itchy-amethyst2y ago
Hey all! I'm following a tutorial just like others and I have the same issue. It asks me to sign in with google. The popup screen is just white. The console shows "[GSI_LOGGER]: The given client ID is not found". I cleared the browser data and unfortunately that didn't help. What can I do to resolve this? Thanks!
correct-apricot
correct-apricot2y ago
Hey @stevenolmos.design, It answered before, you can find more information here: https://discord.com/channels/837692625737613362/1074755669099548722/1074758133764853770
itchy-amethyst
itchy-amethyst2y ago
Much appreciated @salihozdemir