Some functions, such as the creation of a scenario bundle, are restricted to registered users. They are expected to be redirected to the login page and back to the original page after logging in. This behavior is not possible without additional changes, as the Bundles app was developed with React. This requires additional code.
Steps to Reproduce
Navigate to scenario bundle page
Log out
Click "create scenario bundle"
Insert acronym and click create
Load sinner for ever .... (it is possible to go back from here)
Ideas of solution
Provide an endpoint to which the React frontend can send an http request and check if the current user is authenticated.
Implementation of JWT token-based authentication
The React frontend must be integrated into the authentication workflow.
Context and Environment
Version used: develop
Operating system: linux
Environment setup and (python) version: default, 3.9
Description of the issue
Some functions, such as the creation of a scenario bundle, are restricted to registered users. They are expected to be redirected to the login page and back to the original page after logging in. This behavior is not possible without additional changes, as the Bundles app was developed with React. This requires additional code.
Steps to Reproduce
Ideas of solution
The React frontend must be integrated into the authentication workflow.
Context and Environment
Workflow checklist