Skip to content

how to configure superset with keycloak #13915

Answered by ouadhi
ouadhi asked this question in Q&A / Help
Discussion options

You must be logged in to vote

hi @srinify , it works perfectly now ,
first , i add flask-oidc==1.3.0 in requirement.test
in docker/pythonpath_dev create file kyecloack_securtiy_manager.py and add this code

rom flask_appbuilder.security.manager import AUTH_OID
from superset.security import SupersetSecurityManager
from flask_oidc import OpenIDConnect
from flask_appbuilder.security.views import AuthOIDView
from flask_login import login_user
from urllib.parse import quote
from flask_appbuilder.views import ModelView, SimpleFormView, expose
import logging

class OIDCSecurityManager(SupersetSecurityManager):

    def __init__(self, appbuilder):
        super(OIDCSecurityManager, self).__init__(appbuilder)
        if self.au…

Replies: 6 comments 29 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@aidatabases
Comment options

@rahul149386
Comment options

@saatvikrk
Comment options

@saatvikrk
Comment options

@saatvikrk
Comment options

Answer selected by mistercrunch
Comment options

You must be logged in to vote
3 replies
@ouadhi
Comment options

@Synarcs
Comment options

@rahul149386
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@wiktor2200
Comment options

@nathanielread
Comment options

@wiktor2200
Comment options

Comment options

You must be logged in to vote
11 replies
@ancogamer
Comment options

@Hokwang
Comment options

@mgorsk1
Comment options

@mgorsk1
Comment options

@ancogamer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #13806 on April 01, 2021 16:40.