Skip to content

Conversation

@oliverbaehler
Copy link

What type of PR is this?

What this PR does / why we need it:

Would have saved me some hours if I would have known what to look for.

Essentially without this the v.1 token returned contains an iss property pointing to sts.microsoft.com. To get the v2. tokens you must use grant scopes.

Adds a simple example for using OIDC and JWT validating in with Azure Entra

Which issue(s) this PR fixes:

Fixes #

Release Notes: Yes/No

@oliverbaehler oliverbaehler requested a review from a team as a code owner January 16, 2026 15:02
@netlify
Copy link

netlify bot commented Jan 16, 2026

Deploy Preview for cerulean-figolla-1f9435 ready!

Name Link
🔨 Latest commit 84e8450
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/696dcc88740c240008097c68
😎 Deploy Preview https://deploy-preview-7977--cerulean-figolla-1f9435.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@oliverbaehler oliverbaehler force-pushed the main branch 2 times, most recently from 538a2d3 to 130dfd5 Compare January 16, 2026 15:25
jwt:
provider: entra
claims:
- name: roles
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: could we keep consistent yaml list indentation?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes sir

oliverbaehler and others added 2 commits January 19, 2026 07:16
Co-authored-by: Huabing (Robin) Zhao <[email protected]>
Signed-off-by: Oliver Bähler <[email protected]>
providers:
- name: entra
issuer: "https://login.microsoftonline.com/<AZURE_TENANT_ID>/v2.0"
remoteJWKS:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit of a random question as I am trying to setup similar thing using Zitadel. I assume the Idp should have attached the jwt after oidc step, so do we still need to have issuer or remoteJWKS configured, or can we rely on only extractFrom? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants