Discourse SAML returns incorrect values on redirect


I’m relatively new to SAML and I’ve setup the SP metadata in the IdP based on the /auth/saml/metadata endpoint, but I’m having issues on the populated email and username on redirect upon login.

And, should the pop-up always show on successful login?

Hoping for your response on this.