fix: self-host unable to use Azure oauth (#3138)

This commit is contained in:
James Butler
2023-06-22 19:13:05 +01:00
committed by GitHub
parent 2afc87847d
commit 64c5077506
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ export class MicrosoftStrategy extends PassportStrategy(Strategy) {
clientSecret: process.env.MICROSOFT_CLIENT_SECRET,
callbackURL: process.env.MICROSOFT_CALLBACK_URL,
scope: [process.env.MICROSOFT_SCOPE],
passReqToCallback: true,
tenant: process.env.MICROSOFT_TENANT,
store: true,
});
}