Skip to content

Latest commit

 

History

History

EasyOC.SwaggerUI

NuGet Badge

  • Adding Swagger UI support to OrchardCore
  • Integration OpenId code flow authentication

How to use?

  1. Enable EasyOC.SwaggerUI Feature
  2. Run Recipes :EasyOC SwaggerUI Auth
  3. Config Authentication
  • In Admin menus , Open : Security > OpenID Connect > Applications
  • Locate SwaggerClient in the list of applications, Edit
  • Update your Redirect Uris

You need keep the postfix , and use your domain and site Prefix to instead "http://localhost:2919/"

  • In Admin menus , Open : Configuration > SwaggerUI , Click Authorize on the right

input SwaggerClient in client_id field,keep the client_secret empty

Click Authorize

image