Bug 1762447 - Option to include group / membership from external IdP into user's identity object
Summary: Option to include group / membership from external IdP into user's identity o...
Keywords:
Status: CLOSED DUPLICATE of bug 1469173
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: apiserver-auth
Version: 3.11.0
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: ---
Assignee: Stefan Schimanski
QA Contact: scheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-16 18:45 UTC by liangch
Modified: 2019-10-18 08:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-18 08:50:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description liangch 2019-10-16 18:45:58 UTC
Description of problem:
The identity API, /apis/user.openshift.io/v1/identities/$NAME, only preserves very limited user claims from external OpenID Connect Provider. We need user's group memberships from OpenId Connect provider for RBAC. In a use case that I use OAuth-Proxy for authentication, and propagate the oauth opaque access_token to the upstream application. The upstream application can either call identities API or tokenreviews API to find user ID, however it can not reach the group membership assigned in external openid connect provider (like keycloak or Azure). 

Version-Release number of selected component (if applicable):


How reproducible:
Invoke either 
/apis/user.openshift.io/v1/identities/$NAME or 
/apis/authentication.k8s.io/v1/tokenreviews


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
See groups from external identity providers

Additional info:

Comment 1 Standa Laznicka 2019-10-18 08:50:07 UTC
There's an RFE for this functionality, feel free to reach out to Red Hat to increase its priority.

*** This bug has been marked as a duplicate of bug 1469173 ***


Note You need to log in before you can comment on or make changes to this bug.