A cloud-based identity and access management service for securing user authentication and resource access
Azure AAD B2C: revokeSignInSessions seems to be ignored
Hi,
we are using Azure B2C with custom policies to authenticate users in different types of applications: web, SPA and mobile.
We have custom attributes that could be changed by offline systems and that are included in JWT. We would like to invalidate refresh tokens in order to force the app to refresh the token and have attributes changed.
We are simulating call using postman so we use the "/authorize" endpoint to authenticate the user, then we call "/token" endpoint to retrieve the refresh token and "/token" endpoint again to refresh it.
After calling "/users/{id}/revokeSignInSessions" we expect an error on the next "/token" call but it keeps working also with the original refresh token, generated hours before the revokeSignInSessions, until the refresh token expires.
We are missing something on the expected behavior of the revoking API? Maybe we have to change something on the policies to handle it? I can't find any clear documentation on that.
Thanks in advance