- Adding Swagger UI support to OrchardCore
- Integration OpenId code flow authentication
- Enable
EasyOC.SwaggerUI
Feature - Run Recipes :
EasyOC SwaggerUI Auth
- 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