Last active
October 31, 2019 16:45
-
-
Save snivas/ae73377e310192c44408ac9cd7a28a38 to your computer and use it in GitHub Desktop.
PingFederate oAuth configuration for Apache Superset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OAUTH_PROVIDERS = [ | |
{ | |
'name': 'pingid', | |
'icon': 'fa-address-card', | |
'token_key': 'access_token', | |
'remote_app': { | |
'consumer_key': 'PINGFEDERATE_OAUTH_KEY', | |
'consumer_secret': 'PINGFEDERATE_OAUTH_SECRET' | |
'request_token_params': { | |
'scope': 'openid email profile' | |
}, | |
'base_url': 'https://www.<pingfederate url>/', | |
'access_token_url': 'https://<pingfederate url>/as/token.oauth2', | |
'authorize_url': 'https://<pingfederate url>/as/authorization.oauth2', | |
} | |
} | |
] | |
redirect url would be <domain>/authorized/pingid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment