feat(backend): update Microsoft strategy to handle multiple scopes (#4604)
Co-authored-by: Raphael.Hehl <Raphael.Hehl@deutschebahn.com>
This commit is contained in:
parent
a08c6f6b3e
commit
12f4849061
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ export class MicrosoftStrategy extends PassportStrategy(Strategy) {
|
|||
clientID: configService.get('INFRA.MICROSOFT_CLIENT_ID'),
|
||||
clientSecret: configService.get('INFRA.MICROSOFT_CLIENT_SECRET'),
|
||||
callbackURL: configService.get('INFRA.MICROSOFT_CALLBACK_URL'),
|
||||
scope: [configService.get('INFRA.MICROSOFT_SCOPE')],
|
||||
scope: configService.get('INFRA.MICROSOFT_SCOPE').split(','),
|
||||
tenant: configService.get('INFRA.MICROSOFT_TENANT'),
|
||||
store: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue