You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "alisharifi2000 (via GitHub)" <gi...@apache.org> on 2025/02/17 13:58:29 UTC
Re: [I] Apache Superset & Keycloak integration [superset]
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org