From 9b9e442da0a03390b877b029b28081e2e7b706d2 Mon Sep 17 00:00:00 2001 From: Dominik Schwank Date: Wed, 19 Jan 2022 14:15:49 +0100 Subject: [PATCH] docs(auth): align provider reference with config example The used provider reference was not aligned with the config example. Signed-off-by: Dominik Schwank --- docs/auth/oauth2-proxy/provider.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/auth/oauth2-proxy/provider.md b/docs/auth/oauth2-proxy/provider.md index 326b5ef463..f366929fe8 100644 --- a/docs/auth/oauth2-proxy/provider.md +++ b/docs/auth/oauth2-proxy/provider.md @@ -89,7 +89,7 @@ credentials fresh. When using the OAuth2-Proxy, the Backstage UI can only be accessed after the user has already been authenticated at the proxy. Instead of showing the user another login page when accessing Backstage, it will handle the login in the -background. Backstage provides for this case a special `SignInPage` component +background. Backstage provides for this case the `ProxiedSignInPage` component which has no UI. Update your `createApp` call in `packages/app/src/App.tsx`, as follows. @@ -98,7 +98,7 @@ Update your `createApp` call in `packages/app/src/App.tsx`, as follows. +import { ProxiedSignInPage } from '@backstage/core-components'; const app = createApp({ components: { -+ SignInPage: props => , ++ SignInPage: props => , ``` After this, your app should be ready to leverage the OAuth2-Proxy for