After this, I’ve been able to get SSO up and running with JWT.
With the discourse-omniauth-jwt library, I’m not sure how to redirect people after sign-in.
When a user logs into my site, I obtain the JWT and sign them into discourse as well immediately. At the end of this flow, they end up at the discourse site instead of back at my site.
Maybe @eviltrout can shed some light on this.
EDIT: Just realized I’ve been looking at two different libraries, omniauth and discourse’s omniauth callbacks. Anyway, still unsure how to make this work.