René's URL Explorer Experiment


Title: OIDC auth rejects Entra ID (Azure AD) tokens: username claims and top-level app roles unsupported · Issue #6630 · feast-dev/feast · GitHub

Open Graph Title: OIDC auth rejects Entra ID (Azure AD) tokens: username claims and top-level app roles unsupported · Issue #6630 · feast-dev/feast

X Title: OIDC auth rejects Entra ID (Azure AD) tokens: username claims and top-level app roles unsupported · Issue #6630 · feast-dev/feast

Description: Expected Behavior Feature-server OIDC auth (auth: type: oidc) authenticates tokens issued by Microsoft Entra ID (Azure AD), including client-credentials (app-only) tokens, and RoleBasedPolicy matches Entra app roles. Current Behavior Two...

Open Graph Description: Expected Behavior Feature-server OIDC auth (auth: type: oidc) authenticates tokens issued by Microsoft Entra ID (Azure AD), including client-credentials (app-only) tokens, and RoleBasedPolicy match...

X Description: Expected Behavior Feature-server OIDC auth (auth: type: oidc) authenticates tokens issued by Microsoft Entra ID (Azure AD), including client-credentials (app-only) tokens, and RoleBasedPolicy match...

Opengraph URL: https://github.com/feast-dev/feast/issues/6630

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OIDC auth rejects Entra ID (Azure AD) tokens: username claims and top-level app roles unsupported","articleBody":"## Expected Behavior\n\nFeature-server OIDC auth (`auth: type: oidc`) authenticates tokens issued by Microsoft Entra ID (Azure AD), including client-credentials (app-only) tokens, and `RoleBasedPolicy` matches Entra app roles.\n\n## Current Behavior\n\nTwo independent Keycloak-shape assumptions in `sdk/python/feast/permissions/auth/oidc_token_parser.py` (unchanged 0.64.0 -> 0.65.0):\n\n1. `_extract_username_or_raise_error` requires `preferred_username` or `upn`. Entra client-credentials tokens carry neither, so every machine-to-machine caller fails with `AuthenticationError(\"Missing preferred_username or upn field in access token.\")`.\n2. Roles are extracted only from Keycloak's nested `resource_access.\u003cclient_id>.roles`. Entra emits app roles in the top-level `roles` claim, so roles are always `[]` and `RoleBasedPolicy` can never match.\n\n#4934 previously requested the roles half and was closed stale without a fix.\n\n## Steps to reproduce\n\n1. Configure the feature server with `auth: type: oidc` against an Entra ID tenant.\n2. Acquire a client-credentials token for an app registration granted an app role.\n3. Call any authenticated endpoint: the token is rejected at username extraction. With a user (auth-code) token, authentication passes but extracted roles are `[]`.\n\n### Specifications\n\n- Version: 0.64.0 (parser identical in 0.65.0)\n- Platform: Python feature server, Microsoft Entra ID (Azure AD)\n- Subsystem: `permissions/auth`\n\n## Possible Solution\n\n- Username: when the human claims are absent, fall back to the calling application's identity: `azp` (v2 tokens), then `appid` (v1), then `sub`.\n- Roles: merge the top-level `roles` claim with the existing `resource_access` extraction so both issuer shapes authorize.\n\nI'm taking this one: we already run 0.64 behind Entra with exactly this change applied as a build-time patch, and I'll submit it as a PR.\n","author":{"url":"https://github.com/larrysingleton007","@type":"Person","name":"larrysingleton007"},"datePublished":"2026-07-22T18:28:04Z","url":"https://github.com/feast-dev/feast/issues/6630"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ee15ce27-2a3a-ab34-3567-efcd15b1ff4e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8D9A:2A4404:F02145:13CBD87:6AFE9818
html-safe-nonceb1181b1dc62b80991ac7ee57d23f7af5ccd58b3bb728f3129ba5b5cd7ca92958
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDlBOjJBNDQwNDpGMDIxNDU6MTNDQkQ4Nzo2QUZFOTgxOCIsInZpc2l0b3JfaWQiOiI0Mzk3ODk3MzIxODkwODM2NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac05802b3b4694b42508026d29dfcea834ab05c1a68340e4a75cf143bf13909c19
hovercard-subject-tagissue:4951951355
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/6630/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ddf587bcdff537cfc4770e7808932d02a4ede004f636791d7f9228bc711021b1/feast-dev/feast/issues/6630
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ddf587bcdff537cfc4770e7808932d02a4ede004f636791d7f9228bc711021b1/feast-dev/feast/issues/6630
og:image:altExpected Behavior Feature-server OIDC auth (auth: type: oidc) authenticates tokens issued by Microsoft Entra ID (Azure AD), including client-credentials (app-only) tokens, and RoleBasedPolicy match...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelarrysingleton007
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/6630#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F6630
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F6630
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/6630
Reloadhttps://github.com/feast-dev/feast/issues/6630
Reloadhttps://github.com/feast-dev/feast/issues/6630
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
https://github.com/feast-dev/feast
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6630
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6630
#6631https://github.com/feast-dev/feast/pull/6631
OIDC auth rejects Entra ID (Azure AD) tokens: username claims and top-level app roles unsupportedhttps://github.com/feast-dev/feast/issues/6630#top
#6631https://github.com/feast-dev/feast/pull/6631
https://github.com/larrysingleton007
larrysingleton007https://github.com/larrysingleton007
on Jul 22, 2026https://github.com/feast-dev/feast/issues/6630#issue-4951951355
#4934https://github.com/feast-dev/feast/issues/4934
ntkatholehttps://github.com/ntkathole
completedhttps://github.com/feast-dev/feast/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#6631https://github.com/feast-dev/feast/pull/6631
on Jul 23, 2026https://github.com/feast-dev/feast/issues/6630#event-28393292484
Sign up for freehttps://github.com/signup?return_to=https://github.com/feast-dev/feast/issues/6630
Sign in to commenthttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6630
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.