Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

UI: Redirect to login when unauthenticated and the page requires auth #18507

Open
kialj876 opened this issue Nov 8, 2023 · 0 comments
Open
Labels
BTR Business Transparency Register Register BO

Comments

@kialj876
Copy link
Collaborator

kialj876 commented Nov 8, 2023

Description

Currently the app does not check if you are logged in or not. In order to add a beneficial owner / get any business data for that page you will need to be logged in. This should be a check / redirect in the middleware based on the page meta.

This will be tricky to simulate with the btr-main-app Cypress tests (all of the existing tests are unauthenticated so this will cause them to all fail)

Redirect to homepage login.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
BTR Business Transparency Register Register BO
Projects
None yet
Development

No branches or pull requests

1 participant