Forum Discussion

afshanraees's avatar
afshanraees
New Contributor
4 years ago

Swagger and Okta integration using Swashbukle .net core package and authoriAtion code flow

Can someone help me with this? Swagger is redirected to the redirect Url that Okta redirects to with code and state. I can get the access_token in Swagger Authorization Middleware but dont know how to tell swagger that user is authenticated. Thanks so much.

1 Reply

  • afshanraees's avatar
    afshanraees
    New Contributor

    Nevermind, I figured it out. Used Implicity flow instead of authorization code. Got exactly what I was looking for. Thanks.