Error when connection to Zitadel console
Hi everyone, I'm getting this error when trying to connect to the admin console, any idea ?
have a great day

6 Replies
hey thanks for raising this @rcauquil what is the URL here?
Welcome Back!
Enter your login data.
hey @rcauquil seems like the user was not granted to the project its trying to access.You can read about it here
It's the only user to access the admin panel
hey @rcauquil to cross check, you should run this endpoint and see if the user has rthe necessary user grants(which I dont think or else the errror wont happen) https://zitadel.com/docs/guides/integrate/retrieve-user-roles#1-search-user-grants
Despite of you having only user, can you pls confirm IF the user exist in the same org as the project?. Does the user has the appropiate roles(
ORG_OWNER
, PROJECT_OWNER
)?.ZITADEL Docs
This guide explains all the possible ways of retrieving user roles across different organizations and projects using ZITADEL's APIs.
another takeaway is that it couuld be that you enabled
Check Authorization on Authentication
that leads to explicit authorization to access the application.
We have a troubleshooting guide for the exact same scenario https://zitadel.com/docs/support/troubleshooting#login-not-possible-the-organization-of-the-user-must-be-granted-to-the-project