diff --git a/internal/ui/login/handler/renderer.go b/internal/ui/login/handler/renderer.go index 95ded170f5..e58a589cf6 100644 --- a/internal/ui/login/handler/renderer.go +++ b/internal/ui/login/handler/renderer.go @@ -443,6 +443,9 @@ func (l *Login) getPrivateLabelingID(authReq *domain.AuthRequest) string { privateLabelingOrgID = authReq.UserOrgID } } + if authReq.RequestedOrgID != "" { + privateLabelingOrgID = authReq.RequestedOrgID + } return privateLabelingOrgID }