I just re-read my previous reply. What I had meant to write was that the approach outlined in this topic should work: Create an SSO login link. This is how our WordPress plugin creates links that automatically log users into Discourse. What I haven’t tested is using this approach with a pre-filled message URL set for the return_path
.
Let me know if that still isn’t clear.