Merge pull request #1478 from danztran/gitlab_auth

Add Gitlab Auth #343
This commit is contained in:
Fredrik Adelöw
2020-06-30 13:39:24 +02:00
committed by GitHub
20 changed files with 665 additions and 18 deletions
+11
View File
@@ -27,11 +27,13 @@ import {
GoogleAuth,
GithubAuth,
OktaAuth,
GitlabAuth,
oauthRequestApiRef,
OAuthRequestManager,
googleAuthApiRef,
githubAuthApiRef,
oktaAuthApiRef,
gitlabAuthApiRef,
storageApiRef,
WebStorage,
} from '@backstage/core';
@@ -104,6 +106,15 @@ export const apis = (config: ConfigApi) => {
}),
);
builder.add(
gitlabAuthApiRef,
GitlabAuth.create({
apiOrigin: 'http://localhost:7000',
basePath: '/auth/',
oauthRequestApi,
}),
);
builder.add(
techRadarApiRef,
new TechRadar({