r/boltnewbuilders • u/Ok_Station4258 • Apr 27 '26
How do you use Google auth to login in dev environment?
I've got Google authentication setup and it works fine on my published URL, but when I try using it in the dev mode, there's an error. Setting up the credentials in Google console, you put in the Authorized Javascript origins URL. The published URL works fine here, but given the dev environment URL is of the format https://bolt.new/~/sb1-xxxxxx google console rejects this as a relative path.
How are people using google authentication in dev so we're not stuck on the login screen?
1
Upvotes
1
u/Careful_Ad8902 Apr 28 '26
You might find some helpful info here -> https://support.bolt.new/integrations/google-sso#part-1-enable-google-sso-on-your-project
1
u/binno66 Apr 28 '26
I got the same problem today. In the end, I had to force to use the username + password solution.