Skip to content

Pass organization/project information through via OAuth

A common use case for GitLab OAuth is to be able to serve as an authorization engine for other utilities/services. However for GitLab.com in particular, you may not want to allow access to anyone who has a GitLab.com account.

It would be great if we could pass along the organization/project information of a user attempting to access the URL. This way the authenticating platform can then filter who should be allowed to access it.

GitHub already supports this today: https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/

Edited by silv