[Self-hosted]: Login V2 not working for localhost on Safari (macos, iOS Simulator)
Has anyone managed to log in via the Safari browser using the Docker Compose setup on localhost? The Flutter iOS implementation also doesn’t work on the simulator. It seems that the session cookie is not being sent to http://localhost:3000/ui/v2/login/password after entering the login name. This results in the error messages “Could not get the context of the user…” and “Could not verify password…”.
Firefox works fine!
4 Replies
Hi @xmmk, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question.
Answer
I wasn't able to find a direct answer, here are some relevant sources:
1. Set up Zitadel with Docker Compose (1) :
Provides the complete Docker Compose setup including Login V2 configuration with environment variables for
ZITADEL_DEFAULTINSTANCE_FEATURES_LOGINV2_BASEURI and cookie handling.
2. Login V2 not working with virtual instance? (2) :
Discusses Login V2 authentication issues with error messages similar to yours, including "Auth Request does not exist" errors that might be related to session handling problems.
To learn more, see the sources I considered:
[1] Set up Zitadel with Docker Compose
[2] Login V2 not working with virtual instance?
Feel free to tag @Ask Inkeep with additional questions.Thank you for your prompt reply. I’m not sure if I missed it in the documentation, but I think there should be a clear note that the Docker Compose example doesn’t work for mobile or Safari web local development.
hey @xmmk thanks for pointing that out, we never had that use case where a user pointed that out specifically, so I will raise this internally with the team 🙂