SSO don't return to return_url after new user creation

I have a website that uses Discourse as a SSO provider.

I have a login button in my site that redirects to Discourse SSO with the return_url set,
if and existing user logined correctly, Discourse honors my return_url and returns to my website after validate the user.
But if it’s a new user that needs to Sign-up first, after creating the user and validating
his email address, the Discourse forum send the user to the forum instead of my site.
Any one know if this is possible to tell Discourse return to my web site after new user creation ?

I have the same issue. Searching for a solution right now.

This has now been fixed for local logins

https://github.com/discourse/discourse/commit/09cf35c7600165a1b89b84cd2d3cf9723811bc05

and for social logins

https://github.com/discourse/discourse/commit/be6404d6519d03cfb9194bc03e5c6b9593513c1d

4 Likes

This topic was automatically closed after 24 hours. New replies are no longer allowed.