How admin user re-logins after using discourse connect sso and custom domain

Using discourse connect sso means user login with sso.
And setting custom domain requires user to re-login in custom domain.
So, if I set sso first and then set custom domain, how I login with admin user?
Will the sso user with the same email be labeled as admin?

If this goes wrong then you can always bypass SSO as an admin by going to /users/admin-login on your forum.

2 Likes