MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.13k stars 21.21k forks source link

ID token can be encrypted #107079

Closed meikestone closed 1 year ago

meikestone commented 1 year ago

[Enter feedback here] "They're commonly used to display account information or to make access control decisions in an application. ID tokens are signed, but they're not encrypted."

That's wrong! An ID Token can be encrypted, please read the OIDC Specs (https://openid.net/specs/openid-connect-core-1_0.html)

Kindly regards!


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Naveenommi-MSFT commented 1 year ago

@meikestone Thanks for your feedback! We will investigate and update as appropriate.

ManoharLakkoju-MSFT commented 1 year ago

@meikestone Thanks for bringing this to our attention. I'm going to assign this to the document author so they can take a look at it accordingly

ManoharLakkoju-MSFT commented 1 year ago

@kengaderdus Can you please check and add your comments on this doc update request as applicable.

kengaderdus commented 1 year ago

@meikestone

Thank you for your feedback.

It's true that ID tokens can be encrypted, but by default, the ID token returned by Azure AD B2C is signed and not encrypted. We'll update our documentation to make this clear. #please-close