Closed severo closed 3 days ago
Note also that I confirmed my email, and that I'm able to log in https://quirky-xxxxxxxx.projects.oryapis.com/ui/sessions and see my session.
OK, the bug was unrelated to Ory. AWS CLI had to be installed and configured. See #40.
Description of Bug:
I followed the setup steps from https://github.com/source-cooperative/source.coop/blob/main/README.md. But after logging in successfully with Ory, I'm not logged in the local source.coop.
Maybe I overlooked some Ory configuration step.
Steps to Reproduce:
I created an account in https://ory.sh.
I created a new workspace called source.coop:
I selected the "Development" environment and confirmed:
Inside the workspace, I created a project:
I called it "localauth":
I selected the "development" environment
and confirmed
Then, I went to the "Project settings" tab, then the "API keys" sub menu entry, and clicked "Create new API key"
I called it
localauthkey
and set the expiration to 90 daysthen copied the new API key
I pasted this key to the .env file:
then I went to the "Project settings" tab and "Overview" sub menu entry and copied the API URL:
I pasted this URL to the .env file:
In my browser I deleted the cookies for http://localhost:3000/.
Then I ran
And went to http://localhost:3000/
There, I clicked "Sign in / register", and signed up with an email and a new password.
Screencast From 2024-11-21 14-46-18.webm
But nothing happened, and I looped in the same state, without being logged in, or being able to try to login again, or having an error that explains what happens.
Expected Behavior:
I would be logged in after signing up.
Or, alternatively, I would get an error that explains why I cannot be logged in.
Actual Behavior:
I'm not logged in after registering a new user, and I have no error in the UI, and nothing in the logs either.
Logs
After opening http://localhost:3000/, and before and after signing up, I got occurrences of:
Screenshots:
Additional Context: