Starts in:
2 DAYS
4 HRS
44 MIN
18 SEC
Starts in:
2 D
4 H
44 M
18 S
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
    Support Team 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
    Support Team Fullstack Developer

    Hi,

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

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06