Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

OIDC actually already handles this by requiring the `sub` claim to never be re-assigned and unique: https://openid.net/specs/openid-connect-core-1_0.html#IDToke...

Of course this means that an ID token should not contain an e-mail address under `sub`.



So the identity provider could just generate this unchangable ID and let the user link any number of aliases to it, right?


That is what TFA suggests, yes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: