Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitlaboauth: Allow configuring a different api scope #26152

Merged
merged 5 commits into from Oct 18, 2021

Conversation

ryanslade
Copy link
Contributor

@ryanslade ryanslade commented Oct 15, 2021

This change adds the ApiScope field to the GitLabAuthProvider which
enables changing the default scope from api to read_api.

Fixes: https://github.com/sourcegraph/customer/issues/513

This change adds the ApiScope field to the GitLabAuthProvider which
enables changing the default scope from `api` to `read_api`.
@ryanslade ryanslade marked this pull request as ready for review October 15, 2021 14:32
@sourcegraph-bot
Copy link
Contributor

sourcegraph-bot commented Oct 15, 2021

Notifying subscribers in CODENOTIFY files for diff c73fa70...2ef2dc0.

Notify File(s)
@unknwon enterprise/cmd/frontend/internal/auth/gitlaboauth/config_test.go
enterprise/cmd/frontend/internal/auth/gitlaboauth/provider.go

schema/site.schema.json Outdated Show resolved Hide resolved
ryanslade and others added 2 commits October 18, 2021 10:19
Co-authored-by: Joe Chen <joe@sourcegraph.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants