This Pull Request updates the login route in the frontend container and refactors the configuration handling for Auth0. The changes aim to streamline the authentication process and improve the maintainability of the code by centralizing configuration values.
Implications
The login route has been changed from /auth/sign-in to /login.
Configuration values for Auth0 are now more centralized and consistently logged, which can help in debugging and maintenance.
The base URL and other configuration values are now dynamically determined based on the environment, improving flexibility.
Purpose
The primary purpose of this PR is to update the login route and refactor the way configuration values are handled and logged, making the codebase cleaner and easier to manage.
Impact
Users will now be redirected to /login instead of /auth/sign-in.
Improved logging of configuration values will aid in debugging.
Centralized configuration handling will make future updates easier and reduce the risk of configuration-related bugs.
Suggestion
Ensure that all references to the old login route (/auth/sign-in) are updated throughout the codebase to avoid broken links.
Consider adding unit tests to verify that the configuration values are correctly set and used in different environments.
PR summary
This Pull Request updates the login route in the frontend container and refactors the configuration handling for Auth0. The changes aim to streamline the authentication process and improve the maintainability of the code by centralizing configuration values.
Implications
/auth/sign-in
to/login
.Purpose
The primary purpose of this PR is to update the login route and refactor the way configuration values are handled and logged, making the codebase cleaner and easier to manage.
Impact
/login
instead of/auth/sign-in
.Suggestion
/auth/sign-in
) are updated throughout the codebase to avoid broken links.