Skip to content

Instantly share code, notes, and snippets.

@fifar
Last active June 5, 2020 07:30
Show Gist options
  • Save fifar/e5cc5abe5895ac702b1fd03c48f43eb7 to your computer and use it in GitHub Desktop.
Save fifar/e5cc5abe5895ac702b1fd03c48f43eb7 to your computer and use it in GitHub Desktop.
auth in config.yaml
auth:
type: custom
custom:
className: oauthenticator.generic.GenericOAuthenticator
config:
login_service: "Okta"
client_id: "{{ okta_client_id }}"
client_secret: "{{ okta_client_secret }}"
token_url: https://{{ tubi_okta_domain }}/oauth2/v1/token
userdata_url: https://{{ tubi_okta_domain }}/oauth2/v1/userinfo
userdata_method: GET
userdata_params: {'state': 'state'}
username_key: preferred_username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment