Hi ,
I need to understand UPN as optional claim.
As per above link it's mentioned as upn (User Principal Name) - An identifier for the user that can be used with the username_hint parameter. Not a durable identifier for the user and should not be used to key data.
We shouldn't pass UPN as optional claim in token ? Is it not a best practice to pass UPN as optional claim ? What are the pros and cons ?
What is meant by Not a durable identifier for the user and should not be used to key data ?