Closed pongsathorn-ph closed 12 months ago
If it's looping back to the login page, it might be due to security settings in 3.0. See #24579 . Could you try running 2.1.1 and see if your Google OAuth works correctly there?
try enabling proxy fix
We experienced this issue when upgrading superset to 3.0.0 with the Keycloak integration. In other issues, people have mentioned disabling security features has worked for them by setting some variation of these:
SESSION_COOKIE_SAMESITE = None
SESSION_COOKIE_SECURE = False
SESSION_COOKIE_HTTPONLY = False
WTF_CSRF_ENABLED = False
TALISMAN_ENABLED = False
but we have managed to leave the security enabled as before and have only needed to change the scope in the OAUTH_PROVIDERS
variable to be just openid
:
'remote_app': {
'client_kwargs': {
'scope': 'openid'
},
...
}
I know you are using a different OAuth provider, but hopefully this is the same fix you need or helps point you towards your fix. We had very similar error logs to you.
@sfirke I have solved the problem. I use Google Chrome and installed an extension called ADGuard. I just disabled it, and I could fix the problem. Thank you very much, everyone.
Hi every one, I'm trying to Authenticate with OAuth (Google) but always redirect to login page I followed configuration from this URL but not complete please help me. 😂 I'm stuck in 3 days with this problem 😢
superset_config.py
My network
My Docker log
User list in my superset_db