Skip to content
Discussion options

You must be logged in to vote

I managed to resolve this issue. The key was to implement a CustomOidcSecurityManager to override the oauth_user_info method.

# values.yaml
apiServer:
    apiServerConfig: |
        from flask_appbuilder.security.manager import AUTH_OAUTH
        from airflow.providers.fab.auth_manager.security_manager.override import FabAirflowSecurityManagerOverride
        import logging

        log = logging.getLogger(__name__)

        ADMIN_EMAIL_LIST = {
            '[email protected]',
            '[email protected]'
        }

        class CustomOidcSecurityManager(FabAirflowSecurityManagerOverride):
            def oauth_user_info(self, provider, response):
                

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bun-paul-kwon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant