chore: docker compose runs without auth#1250
Open
inimaz wants to merge 2 commits into
Open
Conversation
SaboniAmine
reviewed
Jun 21, 2026
SaboniAmine
left a comment
Member
There was a problem hiding this comment.
Thanks Inigo! This will be very useful!!
| """ | ||
| if auth_provider is None: | ||
| raise HTTPException(status_code=501, detail="Authentication not configured") | ||
| return RedirectResponse(get_redirect_url(request)) |
Member
There was a problem hiding this comment.
CAN it be computed at startup of server?
Redirect url shouldn't change during app lifetime
Collaborator
Author
There was a problem hiding this comment.
Good catch! We don't even need to read the redirect from the request, changing it here da71fbd
| """ | ||
| if auth_provider is None: | ||
| raise HTTPException(status_code=501, detail="Authentication not configured") | ||
| return RedirectResponse(get_redirect_url(request)) |
SaboniAmine
approved these changes
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
So far it was hard to test in local the webapp because of the authentication mechanism. The goal of this is to provide a simple way to deploy in local the server without auth. This makes it simple for devs to test the frontend + backend + db in one shot.
Try it
Then go to
localhost:3000and you should be able to test everything with just the auth mocked.AI Usage Disclosure
Please refer to docs/how-to/ai-policy.md for detailed guidelines on how to disclose AI usage in your PR. Accurately completing this section is mandatory.