mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:47:32 +00:00
fix: respect requested org (primary domain scope) for private labeling (#2561)
* fix: handle private labeling on login page without auth request * fix: respect requested org (primary domain scope) for private labeling again * respect requested org (primary domain scope) for private labeling
This commit is contained in:
@@ -443,6 +443,9 @@ func (l *Login) getPrivateLabelingID(authReq *domain.AuthRequest) string {
|
||||
privateLabelingOrgID = authReq.UserOrgID
|
||||
}
|
||||
}
|
||||
if authReq.RequestedOrgID != "" {
|
||||
privateLabelingOrgID = authReq.RequestedOrgID
|
||||
}
|
||||
return privateLabelingOrgID
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user