Looks like an SSO bug to me
Can you confirm you are using Official Single-Sign-On for Discourse (sso)