Signout User through code (Azure Ad B2C)

Manish Pandit 1 Reputation point
2022-11-21T10:55:25.82+00:00

User logs in to the App.
Claims are fetched as per user assigned roles.

Admin meanwhile update the user roles.
Now we want user to have the fresh set of roles.

So here when Admin updates the user roles we want to signout the user forcely . so that he can login back again and fresh roles can be fetched.

please guide.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,741 questions
Azure Active Directory External Identities
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 14,346 Reputation points Microsoft Employee
    2022-11-21T23:06:41.057+00:00

    Hi @Manish Pandit have you tried just re-signing the user in and rebuilding the user cookie?

    0 comments No comments