Merge pull request #2446 from sbwalker/dev

add upgrade logic for sites using remapped identifier and email claim…
This commit is contained in:
Shaun Walker
2022-09-30 09:54:59 -04:00
committed by GitHub
2 changed files with 39 additions and 4 deletions

View File

@ -602,14 +602,10 @@ else
if (_providertype == AuthenticationProviderTypes.OpenIDConnect)
{
_scopes = "openid,profile,email";
_identifierclaimtype = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier";
_emailclaimtype = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress";
}
else
{
_scopes = "";
_identifierclaimtype = "sub";
_emailclaimtype = "email";
}
}
_redirecturl = PageState.Uri.Scheme + "://" + PageState.Alias.Name + "/signin-" + _providertype;