Open Closed

swagger authorization error #6312


User avatar
0
it@keystonecustomhome.com created
  • ABP Framework version: 8rc3

Need help configuring swagger authorization. can't get past the following error

error:invalid_request
error_description:The specified 'redirect_uri' is not valid for this client application.
error_uri:https://documentation.openiddict.com/errors/ID2043

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    The specified 'redirect_uri' is not valid for this client application

    You can check the database OpeniddictApplications table.

    The Swagger's Redirect_uri should be like this:

    ["https://localhost:<YourPort>/swagger/oauth2-redirect.html"]

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    it@keystonecustomhome.com created

    thank you, that got me further. Now I'm getting an

    Auth ErrorError: response status is 400, error: invalid_request, description: Multiple client credentials cannot be specified.

    an advice appreciated. Thank you

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    I guess you entered client_secret value. you can try to leave it empty.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    it@keystonecustomhome.com created

    That doesn't work either without a client Id, the first time it sends me to a login screen. After entering admin credentials I am presented with the screenshot. after reentering admin credentials I get the error "Auth ErrorError: response status is 401, error: invalid_client, description: The mandatory 'client_id' parameter is missing."

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    It seems that you have made some changes, ABP didn't use that.

    Could you share a test project to reproduce the problem? I will check it. my email is shiwei.liang@volosoft.com

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    it@keystonecustomhome.com created

    It has been sent. Thank you

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    Sorry, I didn't receive the email. my email is shiwei.liang@volosoft.com

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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 v10.8.0-preview. Updated on September 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.