rcauquil
rcauquil3w ago

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
No description
6 Replies
Rajat Singh
Rajat Singh2w ago
hey thanks for raising this @rcauquil what is the URL here?
Rajat Singh
Rajat Singh2w ago
hey @rcauquil seems like the user was not granted to the project its trying to access.You can read about it here
rcauquil
rcauquilOP2w ago
It's the only user to access the admin panel
Rajat Singh
Rajat Singh2w ago
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.
Rajat Singh
Rajat Singh2w ago
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

Did you find this page helpful?