differenciate username from userid
The actual ID is the sub but is also used as the username.
Use the unique ID (sub claim) as the user id and the username (name claim).
The actual ID is the sub but is also used as the username.
Use the unique ID (sub claim) as the user id and the username (name claim).