How to handle event after user logging in with auth0 provider?

Hi, the idea is following: In my auth0 response i have roles, so i want to check every time when user logging in the role (from auth0) and change/update it if it was changed.

any ideas?