Hi, there seems to be an issue with createMockReactOidc and the isUserInitiallyLoggedIn parameter. The user is logged in even when I pass false to it.
Steps to reproduce:
# Clone the repository
git clone <repo-url>
cd examples/tanstack-router
# Edit examples/tanstack-router/src/oidc.tsx:
# Uncomment the mock section or delete most of it and keep only createMockReactOidc, set isUserInitiallyLoggedIn: false
touch yarn.lock && yarn && yarn dev
Visit the page, and you'll notice that you are logged in even though you shouldn't be. Additionally, you cannot log out.
Hi, there seems to be an issue with
createMockReactOidc
and theisUserInitiallyLoggedIn
parameter. The user is logged in even when I passfalse
to it.Steps to reproduce:
Visit the page, and you'll notice that you are logged in even though you shouldn't be. Additionally, you cannot log out.