Open Closed

Issue on Openiddict auth service when run multiple instances #4869


User avatar
0
tony.chen@sjrb.ca created
  • ABP Framework version: v7.0.2
  • UI type: Angular
  • DB provider: EF Core
  • Identity Server Separated (Angular): yes
  • Exception message and stack trace: Get this error when click logout button in angular site error:invalid_token error_description:The signing key associated to the specified token was not found. error_uri:https://documentation.openiddict.com/errors/ID2090
  • Steps to reproduce the issue:" login then logout(/connect/logout?id_token_hint=...)

We are getting invalid_token error after click logout button from Angular site when openiddict auth service running in load balance mode. (no issue if we only run one auth instance) Is there any specific setting has to be done for supporting Angular? The MVC site running inside of auth service doesn't have this issue.(maybe because of using cookie)

//we are using a shared symmetrickey and protection-key from redis

PreConfigure<OpenIddictServerBuilder>(builder =>
{
   builder.AddSigningKey(new SymmetricSecurityKey(...));
});

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

    hi

    We are getting invalid_token error after click logout button from Angular site when openiddict auth service running in load balance mode.

    Please share the full logs.

  • User Avatar
    0
    tony.chen@sjrb.ca created

    I am going to create private ticket and close this one.

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