Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Getting Unauthorize after publishing and running project #1101

Open
UnkPQG opened this issue Mar 6, 2025 · 1 comment
Open

Getting Unauthorize after publishing and running project #1101

UnkPQG opened this issue Mar 6, 2025 · 1 comment

Comments

@UnkPQG
Copy link

UnkPQG commented Mar 6, 2025

Steps to re-create issue-

  1. Publish the project using-
    dotnet publish -c Release -o ./publish
    and run it-
  2. Or simply just deploy the project on IIS ,
    swagger not working
  3. Just run project on kestral- and click on https://localhost:7000/swagger/../swagger/v1/swagger.json
    it will throw an exception of- 'authentication failed'

Image

Image

@OnlyOneBDS
Copy link

I'm experiencing the same issue as well

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants