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: - 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
{
"code": 5,
"message": "membership not found (AUTHZ-cdgFk)",
"details": [
{
"@type": "type.googleapis.com/zitadel.v1.ErrorDetail",
"id": "AUTHZ-cdgFk",
"message": "membership not found"
}
]
}
{
"code": 5,
"message": "membership not found (AUTHZ-cdgFk)",
"details": [
{
"@type": "type.googleapis.com/zitadel.v1.ErrorDetail",
"id": "AUTHZ-cdgFk",
"message": "membership not found"
}
]
}
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!
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
Z
ZITADEL
ZITADEL - Identity infrastructure, simplified for you.