Merge pull request #13855 from OpenSourceZombie/ahmed/fix-ouath
gitlab oauth: consider hosted gitlab with relative path
This commit is contained in:
@@ -91,6 +91,9 @@ export class GitlabAuthProvider implements OAuthHandlers {
|
||||
clientSecret: options.clientSecret,
|
||||
callbackURL: options.callbackUrl,
|
||||
baseURL: options.baseUrl,
|
||||
authorizationURL: `${options.baseUrl}/oauth/authorize`,
|
||||
tokenURL: `${options.baseUrl}/oauth/token`,
|
||||
profileURL: `${options.baseUrl}/api/v4/user`,
|
||||
},
|
||||
(
|
||||
accessToken: any,
|
||||
|
||||
Reference in New Issue
Block a user