oauth: consider hosted gitlab with relative path

Signed-off-by: ahmed <ahmed@planet.com>
This commit is contained in:
ahmed
2022-09-26 22:02:22 +02:00
parent d2ec9a8358
commit 3e0f0c0285
@@ -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,