Issue: Session API Returns "membership not found" Error Despite Correct Permissions
Hey team!
I'm getting a membership not found (AUTHZ-cdgFk) error when trying to create sessions via POST /v2/sessions, even though my service account seems properly configured.
Setup:
Error :
Use Case: Building a backend service that needs to validate user credentials (username + password) for login purposes. We manage our own JWT tokens after validation.
Any guidance would be much appreciated!
Setup:
- Zitadel running in Docker (localhost:8081)
- Service account created at Organization level
- Service account has Org Owner role
- Using PAT token for authentication
- Users exist in the same organization as the service account and i double checked the password
Error :
Use Case: Building a backend service that needs to validate user credentials (username + password) for login purposes. We manage our own JWT tokens after validation.
Any guidance would be much appreciated!