-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Developer Authentication #798
Comments
In development or production you're only required to log in once and Auth0 remembers you for at least 30 days. I'm not 100% clear how developer experience is impacted by this. |
Ah gotcha. I think I know what happened. I saw a comment in response to my backend auth bypass proposal which I interpreted to mean that we have a related issue on the front end. |
What?
Currently, frontend developers need to authenticate using the production Auth0 account when working on the open-tacos project. This can be inconvenient. I would like to explore options for making the authentication process more straightforward for frontend development while minimizing potential risks to the staging environment. Note that it is not enough to just bypass authentication on the backend, since front end devs might not want to run their own local version of the backend and even if they do, they will still get stuck on the login pop up unless we implement some way to get past it.
How important is this to you?
Options
(Thanks to @zichongkao, for the suggestions, which I am paraphrasing and extending below)
This option would involve modifying the frontend code to implement a mock authentication process, which could introduce additional complexity and maintenance concerns. However, it would allow developers to work on the frontend and backend without needing to interact with the actual Auth0 authentication system.
To implement this solution, we would need to:
Benefits of Option 2 over Option 1
Minimizes the differences between the development and production environments.
Avoids cluttering the authentication code with additional mocking logic.
Simplifies the implementation process.
Important Considerations
When implementing this solution, we should address the following concerns:
Open Questions
The text was updated successfully, but these errors were encountered: