I have enabled Identityserver on config json.
Swagger UI could not load API definition. with the error "Failed to load API definition. Internal Server Error /swagger/v1/swagger.json"
please find log details below. I have found some questions on the forum but the link provided in the answer is broken. thanks for your help.
System.InvalidOperationException: You must either set Authority or IntrospectionEndpoint at Microsoft.AspNetCore.Builder.OAuth2IntrospectionOptions.Validate() at IdentityModel.AspNetCore.OAuth2Introspection.PostConfigureOAuth2IntrospectionOptions.PostConfigure(String name, OAuth2IntrospectionOptions options)
6 Answer(s)
-
0
any tip or help would be great.
-
0
Which version of ASP.NET Zero are you on?
-
0
project created with aspnet zero v 5.3.0 at 16.04.2018
-
0
@tugrulkarakaya can you create an issue here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues">https://github.com/aspnetzero/aspnet-zero-core/issues</a> ? We will check and fix this.
-
0
resolved at the github issues section.
-
0
related issue is <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1126">https://github.com/aspnetzero/aspnet-ze ... ssues/1126</a>