Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequestHeaderIdentityProvider options #1468

Closed
liggitt opened this issue Feb 23, 2016 · 0 comments
Closed

RequestHeaderIdentityProvider options #1468

liggitt opened this issue Feb 23, 2016 · 0 comments

Comments

@liggitt
Copy link
Contributor

liggitt commented Feb 23, 2016

openshift/origin#7547 brings the requestheader IDP to parity with the other providers by allowing setting the display name, email, and preferred username from header values.

Added config for listing headers to read display name, email, and preferred username from headers. The new, optional, config fields are emailHeaders, nameHeaders, preferredUsernameHeaders. Example config:

oauthConfig:
  ...
  identityProviders:
  - name: "..."
    provider:
      apiVersion: v1
      kind: RequestHeaderIdentityProvider
      headers:
      - X-Remote-User
      emailHeaders:
      - X-Remote-User-Email
      nameHeaders:
      - X-Remote-User-Display-Name
      preferredUsernameHeaders:
      - X-Remote-User-Login
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

No branches or pull requests

2 participants