Merge pull request #23077 from afscrome/fixmsauthwithnoprofile
Fix Microsoft Auth Provider when Profile not requested
This commit is contained in:
@@ -57,7 +57,7 @@ export class PassportOAuthAuthenticatorHelper {
|
||||
OAuthAuthenticatorResult<PassportProfile>
|
||||
> = async input => ({
|
||||
profile: PassportHelpers.transformProfile(
|
||||
input.fullProfile,
|
||||
input.fullProfile ?? {},
|
||||
input.session.idToken,
|
||||
),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user