Skip to content

Gitlab provider is broken #2207

Closed
Closed

Description

@jwntrs

The golang/oauth2 library has a list of external connectors that require the client_id, client_secret to be sent as part of the body (instead of in a basic auth header) for all requests to the token endpoint. I'm not sure if something changed recently in gitlab, but it seems that our existing connector is broken, and adding https://www.gitlab.com to the list fixes it. Since this is a core golang library, the timeline for a fix might be long.

I started a topic on the golang-nuts forum and filed and issue with gitlab

Activity

  1. jwntrs commented on May 14, 2018

    @jwntrs
    ContributorAuthor

    So it seems I was able to scan over this file about a dozen times and miss the most important lines as it relates to this issue.

    It's not pretty, but it seems like we can dynamically register our gitlab host in the provider implementation, right before we do the token exchange.

  2. xtremerui commented on Jan 16, 2020

    @xtremerui
    Contributor

    It seems oauth2 core applied another solution to this problem golang/oauth2@80673b4

    Upon testing Gitlab auth is working fine for concourse 5.8. I will close this issue.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions