Regarding logout an user using email of customer

sushant.kumar
sushant.kumar SE Posts: 18 🧑🏻‍🚀 - Cadet

I have a scenario to log out a user from the front end.

If a company admin user is changing the access of another user from admin to buyer, another user should log in again with instant reflection of the role.

Please suggest how I can implement this.

Answers

  • profuel
    profuel SSA Sprykee Posts: 106 🪐 - Explorer

    From my perspective this can be implemented only via an attribute of the customer, which is checked on every request, as a part of the authentication process.