forked from dgrubelic/vue-authenticate
-
Notifications
You must be signed in to change notification settings - Fork 4
GitLab OAuth
Andre-John Mas edited this page Dec 12, 2021
·
6 revisions
Note: configured, but not yet tested
Configuration GitLab, which is based on OAuth2. For additional GitLab specific values, please see their documentation.
Note, if you are using a self-hosted version of GitLab, then you you should adjust the URL for authorizationEndpoint
as
appropriate.
Adjust scope values according to your needs
gitlab: {
clientId: '',
redirectUri: '',
name: 'gitlab',
url: '/auth/gitlab',
authorizationEndpoint: 'https://gitlab.com/oauth/authorize',
requiredUrlParams: ['display', 'scope'],
scope: ['read_user', 'profile'],
scopeDelimiter: '',
display: 'popup',
oauthType: '2.0',
popupOptions: { width: 580, height: 700 }
}