Skip to content

azure oauth2 configured with generic oauth provider doesn't use group/role information #1981

Closed

Description

@lolovarga

Feature Request

What challenge are you facing?

I'm configuring concourse using generic oauth provider and azure AD as oauth2 backend. In this scenario, there is no way to fine grain the access, all authenticated users have access to all the concourse teams configured with azure oauth2.
Concourse code proves this:

goGroup, err := group.AddGroup("Generic OAuth Authentication (allows access to ALL authenticated users)", "", flags)

A Modest Proposal

I guess the proposal is to actually implement an azure auth provider.
There are several ways that this could be tackled:

  1. expecting the token to contain the security group information for the user and using that one to allow access to particular teams
  2. using roles -> these can be defined in the azure service registration and users/teams can be associated with particular roles for a specific app. This information is present the token.

If you believe this would be a useful addition, I'm willing to help either by implementing this provider or by providing further information. Please let me know.

Activity

  1. vito commented on Jan 24, 2018

    @vito
    Contributor

    This will probably be satisfied by #1888, but if not, yeah we'd accept a PR for an Azure provider.

    As it is, it sounds like the generic oAuth provider did pretty much what it said on the tin, so I'm going to close this, but keep an eye on #1888 for further development! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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