diff --git a/login-workflow/docs/routing.md b/login-workflow/docs/routing.md index 0556a265..6975d17b 100644 --- a/login-workflow/docs/routing.md +++ b/login-workflow/docs/routing.md @@ -33,7 +33,7 @@ import { Outlet, Route, Routes } from 'react-router-dom'; export const routes: RouteConfig = { LOGIN: '/login', - REGISTER_INVITE: '/register-by-invite', + REGISTER_INVITE: '/register-by-invite?code=8k27jshInvite234Code&email=example@example.com', REGISTER_SELF: '/self-registration', FORGOT_PASSWORD: '/forgot-password', RESET_PASSWORD: '/reset-password', @@ -120,7 +120,7 @@ import { i18nAppInstance } from './i18n'; export const routes: RouteConfig = { LOGIN: '/login', - REGISTER_INVITE: '/register-by-invite', + REGISTER_INVITE: '/register-by-invite?code=8k27jshInvite234Code&email=example@example.com', REGISTER_SELF: '/self-registration', FORGOT_PASSWORD: '/forgot-password', RESET_PASSWORD: '/reset-password', diff --git a/login-workflow/example/src/components/DebugComponent.tsx b/login-workflow/example/src/components/DebugComponent.tsx index be4ec259..cf457bc9 100644 --- a/login-workflow/example/src/components/DebugComponent.tsx +++ b/login-workflow/example/src/components/DebugComponent.tsx @@ -43,7 +43,12 @@ export const DebugComponent = (): JSX.Element => { {' '} - + [Test Invite Register] diff --git a/login-workflow/example/src/navigation/Routing.tsx b/login-workflow/example/src/navigation/Routing.tsx index 3ee3e2c8..c2b5f703 100644 --- a/login-workflow/example/src/navigation/Routing.tsx +++ b/login-workflow/example/src/navigation/Routing.tsx @@ -2,7 +2,7 @@ import { RouteConfig } from '@brightlayer-ui/react-auth-workflow'; export const routes: RouteConfig = { LOGIN: '/login', - REGISTER_INVITE: '/register-by-invite', + REGISTER_INVITE: '/register-by-invite?code=DEBUG_VALIDATION_CODE_DEADBEEF&email=example@example.com', REGISTER_SELF: '/self-registration', FORGOT_PASSWORD: '/forgot-password', RESET_PASSWORD: '/reset-password',