Browse Source
Invoke configure options method after initialized abp options in AddAbpOpenIdConnect
pull/17045/head
huseyinalan
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.AspNetCore.Authentication.OpenIdConnect/Microsoft/Extensions/DependencyInjection/AbpOpenIdConnectExtensions.cs
|
|
@ -28,8 +28,6 @@ public static class AbpOpenIdConnectExtensions |
|
|
{ |
|
|
{ |
|
|
options.ClaimActions.MapAbpClaimTypes(); |
|
|
options.ClaimActions.MapAbpClaimTypes(); |
|
|
|
|
|
|
|
|
configureOptions?.Invoke(options); |
|
|
|
|
|
|
|
|
|
|
|
options.Events ??= new OpenIdConnectEvents(); |
|
|
options.Events ??= new OpenIdConnectEvents(); |
|
|
var authorizationCodeReceived = options.Events.OnAuthorizationCodeReceived ?? (_ => Task.CompletedTask); |
|
|
var authorizationCodeReceived = options.Events.OnAuthorizationCodeReceived ?? (_ => Task.CompletedTask); |
|
|
|
|
|
|
|
|
@ -63,6 +61,8 @@ public static class AbpOpenIdConnectExtensions |
|
|
logger?.LogException(ex); |
|
|
logger?.LogException(ex); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
configureOptions?.Invoke(options); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|