Open Closed

How do I make authorized call against the Swagger Rest API? #3156


0
barrett2474 created

I'm trying to understand how to authenticate or get authorised to make call against the Rest API. Can anyone clarify or show me where to find the documentation? Thanks,


1 Answer(s)
  • 0
    liangshiwei created
    Support Team

    Hi,

    Here is the document: https://github.com/domaindrivendev/Swashbuckle.AspNetCore#enable-oauth20-flows

    We have configured OAuth in the app template

    You just need to fill the form and click the Authorize button.

    client_secret default value is 1q2w3e* and cilent_id is <YourProjectName>_Swagger, you can see it in the appsettings.json file.