zitadel / typescript

Typescript packages and application to showcase the ZITADEL resource API
https://typescript-login.vercel.app
MIT License
49 stars 25 forks source link

Domain Discovery in Login #81

Closed hifabienne closed 1 month ago

hifabienne commented 3 months ago

As a user I want to be able to login to my user account with domain discovery, so the login checks to which organization my user belongs to and routes my according to the domain.

Acceptance Criteria

For all criteria we assume the company has a domain company-a.com registered

edit:

hifabienne commented 3 months ago

@peintnermax can you please estimate the following issue?

peintnermax commented 2 months ago

I guess the last point should result in a user not found, not register cannot be performed.

hifabienne commented 2 months ago

I guess the last point should result in a user not found, not register cannot be performed.

You are right, updated in the issue description

peintnermax commented 2 months ago

Implementing the discovery for the register, we need to have a method searchOrgs on the org service which allows to get organizations based on a domain (loginnamesuffix)