alisharifi2000 commented on issue #29539:
URL: https://github.com/apache/superset/issues/29539#issuecomment-2663215564
@PedroMartinSteenstrup could please tell me which version of superset and
keyclock you use, because i use superset 4.1.1 and keycloak 26.1.1.
in this versions it not worked then i change superset config
OAUTH_PROVIDERS = [
{
"name": "keycloak",
"icon": "fa-key",
"token_key": "access_token",
"remote_app": {
"client_id": "superset",
"client_secret": client_secret,
"client_kwargs": {"scope": "openid "
"email "
},
"api_base_url":
f"https://{keycloak_address}/realms/{keycloak_relam}/protocol/openid-connect",
"authorize_url":
f"https://{keycloak_address}/realms/{keycloak_relam}/protocol/openid-connect/auth",
"access_token_url":
f"https://{keycloak_address}/realms/{keycloak_relam}/protocol/openid-connect/token",
'jwks_uri':
f"https://{keycloak_address}/realms/{keycloak_relam}/protocol/openid-connect/certs",
"request_token_url": None,
'access_token_method': 'POST',
}
}]
but the problem is i cant connect to token endpoint.
ERROR:flask_appbuilder.security.views:Error authorizing OAuth access token:
HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url:
/realms/superset/protocol/openid-connect/token
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]