Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

OpenID + Dex + Groups restriction #580

@nabadger

Description

@nabadger

Hi,

We currently run Dex backed by LDAP in our authentication pipeline.

Dex returns ID tokens with group information, which we're already using in in our auth-flow (in kubernetes).

{
  "iss": "http://127.0.0.1:5556/dex",
  "sub": "CgcyMzQyNzQ5EgZnaXRodWI",
  "aud": "example-app",
  "exp": 1492882042,
  "iat": 1492795642,
  "at_hash": "bi96gOXZShvlWYtal9Eqiw",
  "email": "[email protected]",
  "email_verified": true,
  "groups": [
    "admins",
    "developers"
  ],
  "name": "Jane Doe"
}

Does oauth2_proxy support any method to check these groups that are returned from Dex, in a similar fashion to the existing --google-group or --gitlab-team options.

I've had a look at the oidc provider but don't see anything to suggest it does.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions