feat: add gitlab authentication

This commit is contained in:
Ali BARIN
2022-05-04 00:38:31 +02:00
parent 2e2d371875
commit 39d82f17d7
9 changed files with 580 additions and 6 deletions

View File

@@ -24,11 +24,7 @@ const createAuthData = async (
if (!connection.formattedData) { return null; }
const appInstance = new appClass(appData, {
consumerKey: connection.formattedData.consumerKey,
consumerSecret: connection.formattedData.consumerSecret,
});
const appInstance = new appClass(appData, connection.formattedData);
const authLink = await appInstance.authenticationClient.createAuthData();
await connection.$query().patch({