GitHub user sptrakesh created a discussion: Error returning OAuth user info: Invalid URL 'userinfo': No scheme supplied. Perhaps you meant https://userinfo?
I am trying to set up Superset with OAuth2 (google) using the latest Docker image. When I try to login, I get the following error in the logs: ``` 2026-05-26 19:40:51,002:ERROR:flask_appbuilder.security.views:Error returning OAuth user info: Invalid URL 'userinfo': No scheme supplied. Perhaps you meant https://userinfo? ``` I can see the redirect from Google with what looks like proper query strings in the next line. My configuration is as follows: ``` AUTH_TYPE = AUTH_OAUTH OAUTH_PROVIDERS = [ { 'name': 'google', 'token_key': 'access_token', 'icon': 'fa-google', 'remote_app': { 'client_id': '<id>.apps.googleusercontent.com', 'client_secret': '<secret>', 'server_metadata_url': 'https://accounts.google.com/.well-known/openid-configuration', 'request_token_params': { 'scope': 'openid email profile' }, 'client_kwargs': {'scope': 'openid email profile'}, 'authorize_params': {'hd': '<domain>'} } } ] OAUTH_USER_INFO = { 'username': 'username', 'email': 'email', 'first_name': 'given_name', 'last_name': 'family_name', } AUTH_ROLE_ADMIN = 'Admin' AUTH_ROLE_PUBLIC = 'Public' AUTH_USER_REGISTRATION = True AUTH_USER_REGISTRATION_ROLE = "Alpha" ``` GitHub link: https://github.com/apache/superset/discussions/40452 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
