I recently setup a discourse instance (https://arbitio-community.co.uk) and configured SSO via my Django app.
I am trying to do the following:
- user logs in to my django app
- I automatically do /session/sso login for discourse in the background
- embed topics on the django app
I came across https://meta.discourse.org/t/sso-login-from-main-site-backend/37933, which suggests to add an embed tag for discourse/session/sso, but I’m seeing issues there:
My discourse is set up to be https only, so I’m not sure why does it seems to be redirecting to HTTP.
Any ideas why this is, or different approaches to achieve this workflow?