Merge pull request #312 from automatisch/gitlab-auth

feat: add gitlab authentication
This commit is contained in:
Ömer Faruk Aydın
2022-05-05 01:03:50 +02:00
committed by GitHub
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({

View File

@@ -134,6 +134,7 @@ enum AvailableAppsEnumType {
firebase
flickr
github
gitlab
postgresql
smtp
twilio