You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -146,7 +149,7 @@ public function createAuthnRequest(User $user, bool $forceAuthn = false): string
146
149
147
150
// Use email address as subject if not sending to an AzureAD IdP
148
151
if (!$azureMfaIdentityProvider->isAzureAD()) {
149
-
$this->logger->info('Setting the users email address '.$user->getEmailAddress().' as the Subject for the request to '.$azureMfaIdentityProvider->getEntityId());
152
+
$this->logger->info('Setting the users email address '.$user->getEmailAddress()->getEmailAddress().' as the Subject for the request to '.$azureMfaIdentityProvider->getEntityId());
// If the IDP was an AzureAD endpoint (the entityID or Issuer starts with https://login.microsoftonline.com/, or preferably an config parameter in institutions.yaml)
231
252
// the SAML response attribute 'http://schemas.microsoft.com/claims/authnmethodsreferences'
232
253
// should contain 'http://schemas.microsoft.com/claims/multipleauthn'
@@ -241,7 +262,7 @@ public function handleResponse(Request $request): User
241
262
242
263
if (!isset($attributes[self::SAML_EMAIL_ATTRIBUTE])) {
243
264
thrownewMissingMailAttributeException(
244
-
'The mail attribute in the Azure MFA assertion from '.$institution->getName()->getInstitutionName().'was missing'
265
+
'The mail attribute in the Azure MFA assertion from '.$institution->getName()->getInstitutionName().'was missing'
245
266
);
246
267
}
247
268
@@ -253,12 +274,5 @@ public function handleResponse(Request $request): User
0 commit comments