Starts in:
1 DAY
20 HRS
15 MIN
43 SEC
Starts in:
1 D
20 H
15 M
43 S
Open Closed

Swagger authorization error #7051


User avatar
0
Repunjay_TASC created

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

for your refence i have attached swagger url and table screen shots


57 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Your project works on my locally.

    The video: https://we.tl/t-YelemJUEJV

  • User Avatar
    0
    Repunjay_TASC created

    why this project it's not working in my local ? Can you pls guide me what are configuration have you done in your local to run this application, pls provide me Tables data as well .

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please try to clear the redis.

    I just migrated the database and ran the projects.

  • User Avatar
    0
    Repunjay_TASC created

    Ok let me try

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok

  • User Avatar
    0
    Repunjay_TASC created

    Hi,

    I have cleared the cache more than five times and restarted the system twice, but I am still facing the same issue.

    Can you pls share your database table data.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I just migrated the database and ran the projects.

    You can use your project to seed a new database. I didn't change anything of your poject.

  • User Avatar
    0
    Repunjay_TASC created

    Hi,

    I have created a new project and seeded a new database, which resolved the authentication issue. However, I am facing a build error on the API side. I've repeated the steps below two to three times, but the issue has not been resolved.

    1. Clean .NET project 3. Remove package 4. Added package 2. Build Project.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I have created a new project

    Please sahre your test project.

    liming.ma@volosoft.com

  • User Avatar
    0
    Repunjay_TASC created

    https://we.tl/t-Deleted pls downlaod

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I have created a new project and seeded a new database,

    Sorry, I mean your whole project. I will try to build it.

    Not there are only unit test project. It is my bad.

  • User Avatar
    0
    Repunjay_TASC created

    https://we.tl/t-Deleted pls download whole project

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I can build success in the FileManagementModule/aspnet-core and FileManagementModule/aspnet-core/modules/Volo.FileManagement projects via dotnet build command.

  • User Avatar
    0
    Repunjay_TASC created

    Hi, Using command line, me also able to build application successfully. however, if I build and run application in Visual Studio facing build error.

    cmd

    Visual Studio

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Using command line, me also able to build application successfully.

    This means the code is no problem. You can use this extension in VS.

    https://marketplace.visualstudio.com/items?itemName=alper-ebicoglu.DotnetGraphBuild

  • User Avatar
    0
    Repunjay_TASC created

    Hi ,

    DotNetGraphBuild also not work.

    If you have Visual Studio installed, could you please follow these steps and run the application? 1.

    2.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I think this is a VS problem, You can run dotnet build /graphbuild and dotnet run to start your project.

    I'm using RIder IDE. There is no such problem.

  • User Avatar
    0
    Repunjay_TASC created

    Is it possible to resolve this issue? I want to integrate a new File Management module into our existing application. However, when I add this module to the existing application, everyone encounters build errors.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can try to update your VS to the latest version. This is not a code problem.

    You can also delete the .vs folder and restart the Visual Studio.

  • User Avatar
    0
    Repunjay_TASC created

    I have latest VS 2022 version. However, let me delete .vs folder and restart the Visual Studio.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, You can run the dotnet build /graphbuild command before opening VS.

  • User Avatar
    0
    Repunjay_TASC created

    ok

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

  • User Avatar
    0
    Repunjay_TASC created

    Hi maliming,

    No Luck, same issue.

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