I keep getting internal server error in Supabase when I click the google single sign on button #26820
-
Hi all, I have not being able to login via Google Single Sign on to Supabase. Steps and logging in app
What is shown in Supabase This results in the internal server error: {"component":"api","error":"500: Database error saving new user","level":"info","method":"POST","msg":"server_error: Internal Server Error","path":"/token","referer":"http://localhost:3000","remote_addr":"118.92.241.32","time":"2024-05-28T08:22:53Z","timestamp":"2024-05-28T08:22:53Z"} **What did i validate ** Does anybody knows why is this happening |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
While I am doing further investigation, they keep saying I am missing "at_hash" claims in my id_token. Is it a must to have "at_hash" claims for google sign in? |
Beta Was this translation helpful? Give feedback.
-
I have exactly the same issue, around a week ago I started getting OnboardingAuthGoogleError for some of the users in my Flutter app
|
Beta Was this translation helpful? Give feedback.
Sorry for the confusion, the issue was unrelated to at_hash, it's just a log statement.
What happened is that the user indeed couldn't get created because I had a trigger on it that didn't execute properly
@pariszhuang123 , check the logs of the postgres, you will probably see some execution error when the user is created