In short: I’d like to update user’s claims on JWT token. I assume the way to go is to re-login user somehow and pass some extra params to login via handleLogin.
(Adding custom claims seems straightforward)
As I understand, HandleLogin function is supposed to be called only during login and it has a time limit - the calls to it fails after some time with “login_required (Login required)” error.
So is there any way to add custom claims to auth0’s JWT to an user, which is already logged in? (Looks like it would be possible to update session, but trying to avoid it)