Base solution for your next web application
Open Closed

Custom Session - Web Host - Claims are not updated #12314


User avatar
0
ricardo created

Aspnet Core MVC Version - 14.0.0 migrated from version 13.0 to 14.0

After migrating from version 13.0 to version 14.0 we are facing the following problem that did not occur previously:

We have our own MAUI application that uses the client project to communicate with the API (web.host project). In the application, we have a request to the API that updates claims to use custom context filters. After the migration, the claims are no longer updated; they are stuck in the data that was assigned at Login (looking like some kind of cache that is not updated). In the Web application (MVC Project), the updates to the Claims using the same functions are reflected normally.

  1. Request from the mobile application to the API (Wen.Host Project):

  1. Added the Claim "Application_UserUnidadeNegocio" with the value: B6B42B82-E765-49A2-41C5-08DD1DF5646F

  2. when we try to recover the value of the Claim, it has the value that was assigned during login.


4 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @ricardo,

    Could you share your project with [email protected]?

  • User Avatar
    0
    ricardo created

    Hi @m.aliozkaya

    sent.

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @ricardo,

    We can't run the project. Could you fix and resent it?

  • User Avatar
    0
    ricardo created

    hi,

    sent.