Beispiel #1
0
        private Task <IActionResult> AuthenticationResponseErrorAsync(string partyId, AuthenticationRequest authenticationRequest, OAuthRequestException ex)
        {
            logger.ScopeTrace("OIDC Authentication error response.");
            logger.SetScopeProperty("downPartyId", partyId);

            return(AuthenticationResponseErrorAsync(authenticationRequest.RedirectUri, authenticationRequest.State, ex.Error, ex.ErrorDescription));
        }
Beispiel #2
0
        private Task <IActionResult> AuthenticationResponseErrorAsync(TParty party, AuthenticationRequest authenticationRequest, OAuthRequestException ex)
        {
            logger.ScopeTrace(() => "OIDC Authentication error response.");
            logger.SetScopeProperty(Constants.Logs.DownPartyId, party.Id);

            return(AuthenticationResponseErrorAsync(party.RestrictFormAction, authenticationRequest.RedirectUri, authenticationRequest.State, ex.Error, ex.ErrorDescription));
        }