Base solution for your next web application
Open Closed

You must either set Authority or IntrospectionEndpoint #5071


User avatar
0
tugrulkarakaya created

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)
  • User Avatar
    0
    tugrulkarakaya created

    any tip or help would be great.

  • User Avatar
    0
    aaron created
    Support Team

    Which version of ASP.NET Zero are you on?

  • User Avatar
    0
    tugrulkarakaya created

    project created with aspnet zero v 5.3.0 at 16.04.2018

  • User Avatar
    0
    ismcagdas created
    Support Team

    @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.

  • User Avatar
    0
    tugrulkarakaya created

    resolved at the github issues section.

  • User Avatar
    0
    alper created
    Support Team

    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>