Adds Auth0 as IdP

This commit is contained in:
Jaime Mendes
2020-07-14 00:02:43 +01:00
parent 5e36d0cf28
commit fed39a1fa7
19 changed files with 656 additions and 2 deletions
+11
View File
@@ -18,6 +18,8 @@ import {
OAuthRequestManager,
OktaAuth,
oktaAuthApiRef,
Auth0Auth,
auth0AuthApiRef,
} from '@backstage/core';
const builder = ApiRegistry.builder();
@@ -74,6 +76,15 @@ builder.add(
}),
);
builder.add(
auth0AuthApiRef,
Auth0Auth.create({
apiOrigin: 'http://localhost:7000',
basePath: '/auth/',
oauthRequestApi,
}),
);
builder.add(
oauth2ApiRef,
OAuth2.create({