Add configurable OAuth 2.0 scopes

- Add oauth2 config for optional scopes
- Document oauth2 config keys
- Add OAuth2 to demo app list of identity providers
This commit is contained in:
Alan Crosswell
2021-02-09 12:33:24 -05:00
parent ae5a2e643e
commit 07bafa248e
6 changed files with 71 additions and 9 deletions
+8 -1
View File
@@ -58,7 +58,14 @@ export interface Config {
development: { [key: string]: string };
};
oauth2?: {
development: { [key: string]: string };
development: {
clientId: string;
clientSecret: string;
callbackUrl: string;
authorizationUrl: string;
tokenUrl: string;
scope?: string;
};
};
oidc?: {
development: { [key: string]: string };