In case anyone else finds this, I followed @fefrei’s advice
- Identify that the user has logged into your site
- Identify that the user is not currently logged into discourse
- Send the user to discourse’s
/session/ssopage which will trigger the sso with the nonce - The SSO endpoint that gets the call from discourse recognizes it needs to do things automatically
- Log the user in and provide the necessary information back to discourse to complete the flow
Its not pretty (causes the screen to flash) but it works. Thanks ![]()