Hello,
I’m new to Discourse. Recently created a forum and now in the process of moving the site and the forum to a new domain name.
The forum’s old domain: https://forum.skymail.app (not active, redirects to new site)
New domain: https://forum.sugarmail.app (operational)
Having trouble with Google auth. I’ve got a Google Cloud project, and after switching to the new domain, I also changed the redirect url under Client ID there, so currently it’s set to
https://forum.sugarmail.app/auth/google_oauth2/callback
Now the issue. When trying to “sign up with Google”, I get this error in Discourse:
https://forum.sugarmail.app/auth/failure?message=csrf_detected Authorization timed out, or you have switched browsers. Please try again.
When the forum was under the old domain, forum.skymail.app
, Google auth worked without issue.
I did do ./launcher rebuild app
after changing the domain, making sure to update the domain in app.yaml under DISCOURSE_HOSTNAME (in fact the forum wouldn’t load at all until I did that).
Any pointers please?