Can't make user admin, reverts when logging in

Enable verbose SSO logs in settings. I believe that your SSO payload is sending admin: false and revoking the rights of the user.