mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 11:07:32 +00:00
fix(idp): handle scopes in azureAD (#5665)
This commit is contained in:
@@ -298,6 +298,7 @@ func addAzureADProviderToCommand(req *mgmt_pb.AddAzureADProviderRequest) command
|
|||||||
Tenant: idp_grpc.AzureADTenantToCommand(req.Tenant),
|
Tenant: idp_grpc.AzureADTenantToCommand(req.Tenant),
|
||||||
EmailVerified: req.EmailVerified,
|
EmailVerified: req.EmailVerified,
|
||||||
IDPOptions: idp_grpc.OptionsToCommand(req.ProviderOptions),
|
IDPOptions: idp_grpc.OptionsToCommand(req.ProviderOptions),
|
||||||
|
Scopes: req.Scopes,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -309,6 +310,7 @@ func updateAzureADProviderToCommand(req *mgmt_pb.UpdateAzureADProviderRequest) c
|
|||||||
Tenant: idp_grpc.AzureADTenantToCommand(req.Tenant),
|
Tenant: idp_grpc.AzureADTenantToCommand(req.Tenant),
|
||||||
EmailVerified: req.EmailVerified,
|
EmailVerified: req.EmailVerified,
|
||||||
IDPOptions: idp_grpc.OptionsToCommand(req.ProviderOptions),
|
IDPOptions: idp_grpc.OptionsToCommand(req.ProviderOptions),
|
||||||
|
Scopes: req.Scopes,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user