Skip to content

Instantly share code, notes, and snippets.

@mlushpenko
Created September 27, 2019 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlushpenko/9fb4a38ce9507c3e7d5a09352d62dbc6 to your computer and use it in GitHub Desktop.
Save mlushpenko/9fb4a38ce9507c3e7d5a09352d62dbc6 to your computer and use it in GitHub Desktop.
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