How to select the login configurations from the client_id
I am new to zitadel (just installed few mins back) and configured two organzations
The following are the mocked information,
When I am redirecting to the authorize url, the client Id is of App A
client_id=123456@app-a
, but I am seeing the google external login only. Then changed default org to ORG A and it is working.
Now it works if I have only one ORG, but I will be having 2 3 orgs for different teams. Please help me fix it5 Replies
I am hosting on the custom domain. https://identity.example.com
The primary domain of my organization is https://org-a.identity.example.com. But in the URLs section under the app I am seeing https://identity.example.com
Per default always the login of the default organization is shown
as soon as ZITADEL identifies the organization, for example when the user has entered the username, the login of the org of the user will be shown
if you do want to pre select an organization, you can also send the organization scope in the auth request
ZITADEL Docs
ZITADEL supports the usage of scopes as way of requesting information from the IAM and also instruct ZITADEL to do certain operations.
urn:zitadel:iam:org🆔{id}
if you send the scope, also only users of that organization will be able to login
Yes this is helpful because I could have same users in 2 orgs
Also when you write such scope, please enclose them in backticks
urn:zitadel:iam:org:id:{id}