Created
September 27, 2019 10:00
-
-
Save mlushpenko/9fb4a38ce9507c3e7d5a09352d62dbc6 to your computer and use it in GitHub Desktop.
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
eas: { | |
plugins: [ | |
{ | |
type: "oidc", | |
issuer: { | |
discover_url: "https://example.com/.well-known/openid-configuration", | |
}, | |
client: { | |
client_id: "tenantA", | |
client_secret: "tenantSecret", | |
}, | |
scopes: ["openid", "profile", "email", "login_info"], // must include openid | |
redirect_uri: "https://auth.example.com:445/oauth/callback", | |
features: { | |
authorization_token: "id_token", | |
}, | |
assertions: { | |
exp: true, | |
/** | |
* assert the 'not before' attribute of the token(s) | |
*/ | |
nbf: false, | |
iss: true, | |
userinfo: [], | |
id_token: [], | |
}, | |
cookie: { | |
domain: "example.com", //defaults to request domain, could do sso with more generic domain | |
}, | |
}, | |
], // list of plugin definitions, refer to PLUGINS.md for details | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment