mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:17:32 +00:00
fix: handle private labeling on login page without auth request (#2309)
* fix: handle private labeling on login page without auth request * fix: respect requested org (primary domain scope) for private labeling again
This commit is contained in:
@@ -521,6 +521,9 @@ func (repo *AuthRequestRepo) fillPolicies(ctx context.Context, request *domain.A
|
||||
privateLabelingOrgID = request.UserOrgID
|
||||
}
|
||||
}
|
||||
if request.RequestedOrgID != "" {
|
||||
privateLabelingOrgID = request.RequestedOrgID
|
||||
}
|
||||
labelPolicy, err := repo.getLabelPolicy(ctx, privateLabelingOrgID)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user