Created
October 29, 2020 13:36
-
-
Save FirefoxMetzger/c7dfaea6a8717b4469db34aab81f0d08 to your computer and use it in GitHub Desktop.
Vouch Proxy Config for Auth0
This file contains 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
# vouch config | |
# bare minimum to get vouch running with OpenID Connect (such as okta) | |
vouch: | |
logLevel: debug | |
testing: true | |
listen: 0.0.0.0 | |
port: 9090 | |
allowAllUsers: true | |
jwt: | |
secret: Your-64-character-secret-key-here | |
issuer: Vouch | |
compress: false | |
cookie: | |
name: my-vouch-ct | |
secure: false | |
domain: localhost | |
headers: | |
jwt: X-Vouch-Token | |
querystring: access_token | |
redirect: X-Vouch-Requested-URI | |
accesstoken: X-Vouch-IdP-AccessToken | |
idtoken: X-Vouch-IdP-IdToken | |
post_logout_redirect_uris: | |
- https://your-project-name-here.eu.auth0.com/v2/logout?client_id={client_id_from_auth0}&returnTo=http://localhost/ | |
oauth: | |
# Generic OpenID Connect | |
# including okta | |
provider: oidc | |
client_id: {client_id_from_auth0} | |
client_secret: {client_secret_from_auth0} | |
auth_url: https://your-project-name-here.eu.auth0.com/authorize | |
token_url: https://your-project-name-here.eu.auth0.com/oauth/token | |
user_info_url: https://your-project-name-here.eu.auth0.com/userinfo | |
scopes: | |
- openid | |
- profile | |
callback_url: http://localhost/sso/auth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment