Open Closed

SWagger in deployed build not working #9275


User avatar
0
sghorakavi@cpat.com created
  • **Steps to reproduce the issue: We created API Endpoint and we can validate fine with swagger on our dev computer. We deployed ABP project on the docker, now swagger "Authorize" button is showing blank. What did we miss ? Thank you

1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    All the authserver data is seeded into database whenever you run DbMigrator. Can you check appsettings.json and update it, and replace all the localhost URLs with the real domain names. Then run the dbmigrator for the production database. (Configure connectionstring for production in the same appsettings.json file). That will add all the OpenId clients to the database so you can login

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 14, 2025, 07:53