René's URL Explorer Experiment


Title: feat: Provision minimal TokenReview RBAC for OIDC auth and add SSL error logging in token parser by aniketpalu · Pull Request #6240 · feast-dev/feast · GitHub

Open Graph Title: feat: Provision minimal TokenReview RBAC for OIDC auth and add SSL error logging in token parser by aniketpalu · Pull Request #6240 · feast-dev/feast

X Title: feat: Provision minimal TokenReview RBAC for OIDC auth and add SSL error logging in token parser by aniketpalu · Pull Request #6240 · feast-dev/feast

Description: What this PR does / why we need it: When `authz: oidc` is configured, the Feast server delegates Kubernetes service account (SA) tokens to a lightweight TokenReview for validation and namespace extraction. This requires the server SA to have `tokenreviews/create` permission. Previously, this RBAC was not provisioned automatically by the operator for OIDC deployments (only for `authz: kubernetes`), requiring manual ClusterRole creation. Operator: OIDC TokenReview RBAC The operator now provisions a dedicated feast-oidc-token-review ClusterRole and ClusterRoleBinding when authz: oidc is configured. The ClusterRole contains exactly one rule: authentication.k8s.io/tokenreviews/create This is the minimum permission needed for the SA token delegation path. No additional RBAC queries (rolebindings, clusterroles, namespaces) are granted, unlike the authz: kubernetes path which needs broader permissions for KubernetesTokenParser. Cleanup is handled automatically when switching auth types: OIDC to kubernetes: OIDC ClusterRole + ClusterRoleBinding deleted OIDC to no_auth: OIDC ClusterRole + ClusterRoleBinding deleted kubernetes/no_auth to OIDC: OIDC ClusterRole + ClusterRoleBinding created SDK: SSL Error Logging When verify_ssl: true is set but the OIDC provider uses self-signed certificates without a configured ca_cert_path, the server fails to reach the JWKS/discovery endpoints. Previously, this produced a generic "Invalid token" log with no indication of the root cause. The token parser now detects SSL errors in the exception chain and logs a clear, actionable message: OIDC provider SSL certificate verification failed. If using a self-signed certificate, set verify_ssl: false or provide a CA certificate via ca_cert_path. This applies to both the discovery endpoint (_validate_token) and the JWKS endpoint (_decode_token) error paths. Which issue(s) this PR fixes: Follow up to #6089 Checks I've made sure the tests are passing. My commits are signed off (git commit -s) My PR title follows conventional commits format Testing Strategy Unit tests Integration tests Manual tests Testing is not required for this change Misc

Open Graph Description: What this PR does / why we need it: When `authz: oidc` is configured, the Feast server delegates Kubernetes service account (SA) tokens to a lightweight TokenReview for validation and namespace ext...

X Description: What this PR does / why we need it: When `authz: oidc` is configured, the Feast server delegates Kubernetes service account (SA) tokens to a lightweight TokenReview for validation and namespace ext...

Opengraph URL: https://github.com/feast-dev/feast/pull/6240

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c8317793-879c-0bec-bdad-24ffae7fdcab
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCCE6:4FAAE:2DD747C:4112101:6A5004C4
html-safe-nonce89bfaea795ff42df0a96d063c1392da7ac444c90c2d3f244c0c12383f4f9cff0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0U2OjRGQUFFOjJERDc0N0M6NDExMjEwMTo2QTUwMDRDNCIsInZpc2l0b3JfaWQiOiIxMDkwODA1NjUzNTQxMjI1NjY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9e7d874dae7794944b01ae6355d44d241d0ba3b86369b328edee8a99e8cae0f6
hovercard-subject-tagpull_request:3503906595
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6240/files
twitter:imagehttps://avatars.githubusercontent.com/u/64416568?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/64416568?s=400&v=4
og:image:altWhat this PR does / why we need it: When `authz: oidc` is configured, the Feast server delegates Kubernetes service account (SA) tokens to a lightweight TokenReview for validation and namespace ext...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee155b8a71f9284454f73118dfe5e634e74f7afb3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/6240/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6240%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6240%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/6240/files
Reloadhttps://github.com/feast-dev/feast/pull/6240/files
Reloadhttps://github.com/feast-dev/feast/pull/6240/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6240/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.4k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 7.1k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 213 https://github.com/feast-dev/feast/issues
Pull requests 175 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality 1 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
ntkatholehttps://github.com/ntkathole
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
aniketpalu:oidc-rbac-ssl-logginghttps://github.com/aniketpalu/feast/tree/oidc-rbac-ssl-logging
Conversation 20 https://github.com/feast-dev/feast/pull/6240
Commits 4 https://github.com/feast-dev/feast/pull/6240/commits
Checks 27 https://github.com/feast-dev/feast/pull/6240/checks
Files changed https://github.com/feast-dev/feast/pull/6240/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6240/files
feat: Provision minimal TokenReview RBAC for OIDC auth and add SSL error logging in token parser https://github.com/feast-dev/feast/pull/6240/files#top
Show all changes 4 commits https://github.com/feast-dev/feast/pull/6240/files
d257265 feat(operator): Provision minimal TokenReview RBAC for OIDC auth aniketpalu Apr 27, 2026 https://github.com/feast-dev/feast/pull/6240/commits/d25726595eb63ed238e592212af212f1feb29e92
3ed93f1 fix: Add ManagedByLabelKey to shared OIDC ClusterRole labels aniketpalu Apr 29, 2026 https://github.com/feast-dev/feast/pull/6240/commits/3ed93f1bd91b6ac459b1f4d21bf17276ce4f3744
382e38b fix: Add Get-first check to cleanupKubernetesClusterRbac aniketpalu Apr 30, 2026 https://github.com/feast-dev/feast/pull/6240/commits/382e38b0ccd72a86e181e85163d581824e166450
efc6d87 Updated .secret.baseline aniketpalu Apr 30, 2026 https://github.com/feast-dev/feast/pull/6240/commits/efc6d87304f4791b6e61b1f09f4f1c3ca572fe1e
Clear filters https://github.com/feast-dev/feast/pull/6240/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6240/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6240/files
.secrets.baseline https://github.com/feast-dev/feast/pull/6240/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
featurestore_types.go https://github.com/feast-dev/feast/pull/6240/files#diff-200a2037d09ca5047b06caa0a6ef89565f8d8dc488cf55dcf18dd025e6e9c47a
feast-operator.clusterserviceversion.yaml https://github.com/feast-dev/feast/pull/6240/files#diff-2df3d27ec8bd09f647858a863adb414f72381d47c546bcdf4a72cf160a35f8ff
feast.dev_featurestores.yaml https://github.com/feast-dev/feast/pull/6240/files#diff-762cd80b14f04415894b608e22d981bf49a051fbc63c9f1418e6cb0e3152f27f
authz.go https://github.com/feast-dev/feast/pull/6240/files#diff-b844d1085d0176960bf65e41dacb3179159f05dc316d2f7826b9597ce8020907
authz_types.go https://github.com/feast-dev/feast/pull/6240/files#diff-ffe2c0122cb3bea07bb3aa868c4e28ec81870bf8b365ed4f823f28e26ad30402
featurestore_controller_oidc_auth_test.go https://github.com/feast-dev/feast/pull/6240/files#diff-1847e001c32834c924350d8ad724d3338cb7a7322fcab7299039fa2297292650
.secrets.baselinehttps://github.com/feast-dev/feast/pull/6240/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
View file https://github.com/aniketpalu/feast/blob/efc6d87304f4791b6e61b1f09f4f1c3ca572fe1e/.secrets.baseline
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6240/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6240/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
https://github.com/feast-dev/feast/pull/6240/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
https://github.com/feast-dev/feast/pull/6240/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
https://github.com/feast-dev/feast/pull/6240/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
https://github.com/feast-dev/feast/pull/6240/files#diff-d8447df0cd384602c76086081f13f27ad0b45902297c42da35a6fc51fdf1cec3
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L7
infra/feast-operator/api/v1/featurestore_types.gohttps://github.com/feast-dev/feast/pull/6240/files#diff-200a2037d09ca5047b06caa0a6ef89565f8d8dc488cf55dcf18dd025e6e9c47a
View file https://github.com/aniketpalu/feast/blob/efc6d87304f4791b6e61b1f09f4f1c3ca572fe1e/infra/feast-operator/api/v1/featurestore_types.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6240/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6240/files#diff-200a2037d09ca5047b06caa0a6ef89565f8d8dc488cf55dcf18dd025e6e9c47a
https://github.com/feast-dev/feast/pull/6240/files#diff-200a2037d09ca5047b06caa0a6ef89565f8d8dc488cf55dcf18dd025e6e9c47a
https://github.com/feast-dev/feast/pull/6240/files#diff-200a2037d09ca5047b06caa0a6ef89565f8d8dc488cf55dcf18dd025e6e9c47a
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L7
infra/feast-operator/bundle/manifests/feast-operator.clusterserviceversion.yamlhttps://github.com/feast-dev/feast/pull/6240/files#diff-2df3d27ec8bd09f647858a863adb414f72381d47c546bcdf4a72cf160a35f8ff
View file https://github.com/aniketpalu/feast/blob/efc6d87304f4791b6e61b1f09f4f1c3ca572fe1e/infra/feast-operator/bundle/manifests/feast-operator.clusterserviceversion.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6240/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6240/files#diff-2df3d27ec8bd09f647858a863adb414f72381d47c546bcdf4a72cf160a35f8ff
https://github.com/feast-dev/feast/pull/6240/files#diff-2df3d27ec8bd09f647858a863adb414f72381d47c546bcdf4a72cf160a35f8ff
https://github.com/feast-dev/feast/pull/6240/files#diff-2df3d27ec8bd09f647858a863adb414f72381d47c546bcdf4a72cf160a35f8ff
https://github.com/feast-dev/feast/pull/6240/files#diff-2df3d27ec8bd09f647858a863adb414f72381d47c546bcdf4a72cf160a35f8ff
https://github.com/feast-dev/feast/pull/6240/files#diff-2df3d27ec8bd09f647858a863adb414f72381d47c546bcdf4a72cf160a35f8ff
https://github.com/feast-dev/feast/pull/6240/files#diff-2df3d27ec8bd09f647858a863adb414f72381d47c546bcdf4a72cf160a35f8ff
https://github.com/feast-dev/feast/pull/6240/files#diff-2df3d27ec8bd09f647858a863adb414f72381d47c546bcdf4a72cf160a35f8ff
Please reload this pagehttps://github.com/feast-dev/feast/pull/6240/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6240/files
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.