You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Nidhi Chourasia (Jira)" <ji...@apache.org> on 2019/11/07 10:33:00 UTC

[jira] [Updated] (AIRFLOW-5864) RBAC with github_enterprise oauth authentication

     [ https://issues.apache.org/jira/browse/AIRFLOW-5864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nidhi Chourasia updated AIRFLOW-5864:
-------------------------------------
    Attachment: rbac_error_page.PNG

> RBAC with github_enterprise oauth authentication
> ------------------------------------------------
>
>                 Key: AIRFLOW-5864
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5864
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: authentication, webserver
>    Affects Versions: 1.10.6
>         Environment: Linux
>            Reporter: Nidhi Chourasia
>            Priority: Blocker
>         Attachments: rbac_error_page.PNG
>
>
> For the following configuration in webserver_config.py
> {code:java}
> // code placeholder
> OAUTH_PROVIDERS = [{
>    'name':'github',
>      'token_key':'access_token',
>      'icon':'fa-github',
>          'remote_app': {
>              'base_url':'https://github.corporate.domain.com/login',
>           #   'request_token_params':{
>           #       'scope': 'email profile'
>           #   },
>              'access_token_url':'https://github.corporate.domain.com/login/oauth/access_token',
>              #'access_token_url': None,
>              'authorize_url':'https://github.corporate.domain.com/login/oauth/authorize',
>              'request_token_url': None,
>              'consumer_key': '******************',
>              'consumer_secret': '********************',
>          }
>  }]
> {code}
> is redirecting to the following 
> !image-2019-11-07-15-59-21-298.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)