SSO Login Error Answered

Post author
Felix Gräf

Hey, I need some help with the sso. I have a webflow page and two other extra typescript/react app.

Both apps are the same thing just one is for development and one is for production.

The url for the one for production is chat.blazeai.io

The one for development is https://blaze-ai-chi.vercel.app/

For some reason the log in doesnt work in the production one even tho its a straight copy from the development.

Also, when trying to sign in with google get this error code in the development site:
{"error":"No auth provider found"}

Comments

4 comments

  • Comment author
    Raquel Lopez

    When registering the Google provider, did you also include what is going to be your production domain?

     

    0
  • Comment author
    Felix Gräf

    Yes, i added blazeai.io since this is the main domain. But for some reason doesnt work in chat.blazeai.io but in https://blaze-ai-chi.vercel.app/ which i didnt even specify anywhere.

    0
  • Comment author
    Raquel Lopez

    When checking the subdomain I see that you're not passing the appId

    If I try to signup using Google using your main domain it works, if I try using your subdomain it throws the error. I think you also need to add your subdomain as an authorized domain in your google configurations 🤔

    0
  • Comment author
    Felix Gräf

    Ohhh okay, I know whats wrong then. Thank you

    0

Please sign in to leave a comment.