Login user to discourse from external page

Hi all, (quick repost hoping my question is in a better visible place here :slight_smile: )

I think I understand the process where a user navigates to the Discourse login, and then get’s redirected to the SSO login page.
But I have a login page that users can directly request as well, and when they login to (let’s call it) system A I also want to log them in to Discourse.
So the scenario:

-User navigates direcltly to https://systemA/login
-User succesfully logs in to SystemA with their credentials
-How do I login the user to my Discourse instance without the PAYLOAD and SIG url parameters?

How would I go about this?

Best regards,

Justin

Doorgaan met de discussie van Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso):