Open Closed

client_id and client_secret for the Swagger UI #6971


User avatar
0
LiSong created
  • ABP Framework version: v8.0.5
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

What's the client_secret for the swagger ui? by the default the appsettings doesn't have a client_secret for it? I checked the openiddict/applications page, it is a public client but it doesn't work if I leave it blank


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    The swagger client is a public client, which means it not need the client_secret

  • User Avatar
    0
    LiSong created

    I get this error if the client secret is empty Auth ErrorTypeError: Failed to fetch

  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    Could you share the full error message? You should be able to see it in the console tab.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 09, 2026, 07:22
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.