Configure example app to support sign in with OpenShift

Signed-off-by: Yannik Daellenbach <yannik@daellenbach.org>
This commit is contained in:
Yannik Daellenbach
2025-04-12 12:35:00 +02:00
committed by Yannik Daellenbach
parent 7502dd0678
commit a9ba7c5a26
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -23,6 +23,7 @@ import {
oneloginAuthApiRef,
bitbucketAuthApiRef,
bitbucketServerAuthApiRef,
openshiftAuthApiRef,
} from '@backstage/core-plugin-api';
export const providers = [
@@ -74,4 +75,10 @@ export const providers = [
message: 'Sign In using Bitbucket Server',
apiRef: bitbucketServerAuthApiRef,
},
{
id: 'openshift-auth-provider',
title: 'OpenShift',
message: 'Sign In using OpenShift',
apiRef: openshiftAuthApiRef,
},
];
+1
View File
@@ -33,6 +33,7 @@ const searchLoader = createBackendFeatureLoader({
backend.add(import('@backstage/plugin-auth-backend'));
backend.add(import('./authModuleGithubProvider'));
backend.add(import('@backstage/plugin-auth-backend-module-guest-provider'));
backend.add(import('@backstage/plugin-auth-backend-module-openshift-provider'));
backend.add(import('@backstage/plugin-app-backend'));
backend.add(import('@backstage/plugin-catalog-backend-module-unprocessed'));
backend.add(