Fix build and add okta oauth2 scope normalization

This commit is contained in:
Nicholas Pirrello
2020-06-25 18:20:13 -04:00
parent 5b4407d92b
commit 144a3b9294
4 changed files with 51 additions and 4 deletions
+11
View File
@@ -6,11 +6,13 @@ import {
OAuthRequestManager,
googleAuthApiRef,
githubAuthApiRef,
oktaAuthApiRef,
AlertApiForwarder,
ErrorApiForwarder,
ErrorAlerter,
GoogleAuth,
GithubAuth,
OktaAuth,
identityApiRef,
} from '@backstage/core';
@@ -50,4 +52,13 @@ builder.add(
}),
);
builder.add(
oktaAuthApiRef,
OktaAuth.create({
apiOrigin: 'http://localhost:7000',
basePath: '/auth/',
oauthRequestApi,
}),
);
export const apis = builder.build();