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
where await Events.AuthorizationCodeReceived(context); must exchange auth code with access code in the backchannel, but according to the source code of OpenIdConnectEvents:
public class OpenIdConnectEvents : RemoteAuthenticationEvents
{
public Func<AuthorizationCodeReceivedContext, Task> OnAuthorizationCodeReceived { get; set; } =
context => Task.CompletedTask;
// ...
}
it does nothing but just returns Task.CompletedTask so this OnAuthorizationCodeReceived event must be override somewhere, but I couldn't see where it is getting override?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
below is the source code:
https://source.dot.net/#Microsoft.AspNetCore.Authentication.OpenIdConnect/OpenIdConnectHandler.cs,1288
where
await Events.AuthorizationCodeReceived(context);
must exchange auth code with access code in the backchannel, but according to the source code ofOpenIdConnectEvents
:https://source.dot.net/#Microsoft.AspNetCore.Authentication.OpenIdConnect/Events/OpenIdConnectEvents.cs
it does nothing but just returns
Task.CompletedTask
so thisOnAuthorizationCodeReceived
event must be override somewhere, but I couldn't see where it is getting override?Beta Was this translation helpful? Give feedback.
All reactions