• Eric Stroczynski's avatar
    connector/github: error if no groups scope without orgs · e92f38f3
    Eric Stroczynski authored
    We should always check if a user is in any orgs or teams specified
    in config, and whether the groups scope is also included in client
    requests. If not, return an error, because dex wouldn't have required
    permissions to do the request anyway (need read:org).
    e92f38f3
github.go 16.9 KB