Open Closed

openiddict OpenIddictApplication Redirect_uri error #6237


User avatar
0
heshengli created
  • ABP Framework version: v7.4.1
  • UI Type: Blazor Server
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: the doman is https://devcsharp:4367 . and show https://devcsharp in log ,lead to redirect failed


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

    hi

    Your client is AppSSO_BlazorServerTiered,

    You need to clear the redis cache when the data is changed on the database.

  • User Avatar
    0
    heshengli created

    Clear the redis cache without resolving the error {"id":"3a0ed503-8ee0-1c21-7069-aab137ef837e","clientId":"AppSSO_BlazorServerTiered","clientSecret":"AQAAAAEAACcQAAAAEJnCBjVkRdOIqpfyS+Y3FZcf9Gaz9q9iZnZG77FI3R6OsjQUbGr5VBYTpgWDi6bakw==","consentType":"implicit","displayName":"Blazor Server Application","displayNames":null,"permissions":"[\"rst:code id_token\",\"ept:logout\",\"gt:authorization_code\",\"rst:code\",\"ept:authorization\",\"ept:token\",\"ept:revocation\",\"ept:introspection\",\"gt:implicit\",\"rst:id_token\",\"scp:address\",\"scp:email\",\"scp:phone\",\"scp:profile\",\"scp:roles\",\"scp:AppSSO\"]","postLogoutRedirectUris":"[\"https://devcsharp.com:4367/signout-callback-oidc\"]","properties":null,"redirectUris":"[\"https://devcsharp.com:4367/signin-oidc\"]","requirements":null,"type":"confidential","clientUri":"https://devcsharp.com:4367/","logoUri":"/images/clients/blazor.svg","extraProperties":{}}

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Please share the logs.txt. Thanks.

    liming.ma@volosoft.com

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    The Redirect_uri comes from the request.

  • User Avatar
    0
    heshengli created

    i known,but the also is abpframework send request

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Check your web app's openid configuration.

  • User Avatar
    0
    heshengli created

    all configurations come form applications template project,but authsever、app、api is nginx proxy , the domain is nginx proxy address

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    so, I think this is an environment problem instead of code.

  • User Avatar
    0
    heshengli created

    no use nginx proxy , not error

  • User Avatar
    0
    heshengli created

    nginx proxy, the port will not be available

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    no use nginx proxy , not error

    Please check the nginx. I'm not familiar with it.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19