Skip to content

Github OAuth team login issue #1732

Closed
Closed

Description

@LeePorte

Bug Report

I have attempted to add Github OAuth using our team. When the team is added logging in fails with the following error

{"timestamp":"1508488863.277710438","source":"atc","message":"atc.oauth-callback.callback.verify.not-in-teams","log_level":1,"data":{"have":{},"session":"12.3.1","want":[{"Name":"[team] Government PaaS - People","Organization":"alphagov"}]}}
{"timestamp":"1508488863.711165905","source":"atc","message":"atc.oauth-callback.callback.verify.not-in-organizations","log_level":1,"data":{"have":[],"session":"12.3.1","want":null}}

The command used to add the team was;

                  fly -t dev set-team -n dev \
                    --github-auth-client-id ${GITHUB_CLIENT_ID} \
                    --github-auth-client-secret ${GITHUB_CLIENT_SECRET}  \
                    --github-auth-team "alphagov/[team] Government PaaS - People"

If I add myself by appending --github-auth-user LeePorte to the command logging in succeeds. However, atc.oauth-callback.callback.verify.not-in-teams still has an empty array.

  • Concourse version: 3.4.1
  • Deployment type (BOSH/Docker/binary): Bosh
  • Infrastructure/IaaS: IaaS AWS
  • Browser (if applicable): Chrome
  • Did this used to work? Unsure

Activity

  1. vito commented on Jan 24, 2018

    @vito
    Contributor

    We can't really fix this to be honest; we know team-based auth works (we use it ourselves), so this is likely working as intended and your GitHub membership may not be configured correctly.

  2. added a commit that references this issue on Apr 11, 2018
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