-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Prerequisites
- I've searched for existing issues
Describe the bug
When setting up a local environment using nix, the login links return a 500 error.
If APP_DEBUG=true is set in the .env file you can see the error reporting which says:
You can not use a login link when host is
localhost. The host should be one of:platform.test.
To Reproduce
Steps to reproduce the behavior:
- Create a local environment using nix
2. Ensure that the .env hasAPP_ENV=localset. - Go to the site https://localhost
- Click "Sign in"
- Click any of the login links such as "Sign in as individual user"
- Notice the 500 error
Expected behavior
The login link should login the requested user
Screenshots
Additional context
May want to consider adding APP_DEBUG=true to the .env file created by nix-shell. The APP_ENV=local is set in this generated .env so it should be safe to turn debugging on too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed