Skip to content

Instantly share code, notes, and snippets.

@snivas
Last active October 31, 2019 16:45
Show Gist options
  • Save snivas/ae73377e310192c44408ac9cd7a28a38 to your computer and use it in GitHub Desktop.
Save snivas/ae73377e310192c44408ac9cd7a28a38 to your computer and use it in GitHub Desktop.
PingFederate oAuth configuration for Apache Superset
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