mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix: use correct resource owner in checkExternalUserLogin (#5457)
This commit is contained in:
parent
52dc8431ab
commit
a8a2edadc2
@ -858,7 +858,7 @@ func (repo *AuthRequestRepo) checkExternalUserLogin(ctx context.Context, request
|
||||
idQuery, externalIDQuery,
|
||||
}
|
||||
if request.RequestedOrgID != "" {
|
||||
orgIDQuery, err := query.NewIDPUserLinksResourceOwnerSearchQuery(idpConfigID)
|
||||
orgIDQuery, err := query.NewIDPUserLinksResourceOwnerSearchQuery(request.RequestedOrgID)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user