File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/IdentityServer4/src/Configuration/DependencyInjection Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ public static IIdentityServerBuilder AddIdentityServer(this IServiceCollection s
6262 {
6363 services . Configure ( setupAction ) ;
6464 Console . WriteLine ( "services.AddIdentityServer 1" ) ;
65- return services . AddIdentityServer ( options =>
65+ services . Configure < IdentityServerOptions > ( options =>
6666 {
6767 options . IssuerUri = "https://admin-shell-io.com/50001" ;
68- }
69- ) ;
68+ } ) ;
69+ return services . AddIdentityServer ( ) ;
7070 }
7171
7272 /// <summary>
@@ -79,11 +79,11 @@ public static IIdentityServerBuilder AddIdentityServer(this IServiceCollection s
7979 {
8080 services . Configure < IdentityServerOptions > ( configuration ) ;
8181 Console . WriteLine ( "services.AddIdentityServer 2" ) ;
82- return services . AddIdentityServer ( options =>
82+ services . Configure < IdentityServerOptions > ( options =>
8383 {
8484 options . IssuerUri = "https://admin-shell-io.com/50001" ;
85- }
86- ) ;
85+ } ) ;
86+ return services . AddIdentityServer ( ) ;
8787 }
8888
8989 /// <summary>
You can’t perform that action at this time.
0 commit comments