auth-react: completely remove path option

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-04-09 17:04:03 +02:00
parent ed4e394308
commit 633d30ee8d
3 changed files with 4 additions and 5 deletions
-1
View File
@@ -17,7 +17,6 @@ export function CookieAuthRefreshProvider(
// @public
export type CookieAuthRefreshProviderProps = {
pluginId: string;
path?: string;
children: ReactNode;
};
@@ -27,8 +27,6 @@ import { useCookieAuthRefresh } from '../../hooks';
export type CookieAuthRefreshProviderProps = {
// The plugin ID used for discovering the API origin
pluginId: string;
// The path used for calling the refresh cookie endpoint, default to '/.backstage/auth/v1/cookie'
path?: string;
// The children to render when the refresh is successful
children: ReactNode;
};