You need to follow instruction in https://superset.apache.org/docs/configuration/configuring-superset/#custom-oauth2-configuration
I need more customize in CustomSsoSecurityManager function
You must check user from self.find_user and after that use login_user for login