Instead if the claims state needs to change you need to emulate logging in anew (or force the user to log in anew). Get the principal which will gather up all the claims which make up one's "identity" one more time. Think of how you can progressively build up the board in a game of Connect Four. You can build onto what is, but if anything needs to change you've gotta dump everything and start over.
If you let David Attenborough change his name at his account to Boaty McBoatface I guess he's just gonna carry on as David's ghost until you do a reset and you probably should reset right away.
No comments:
Post a Comment