diff --git a/internal/api/grpc/management/idp_converter.go b/internal/api/grpc/management/idp_converter.go index 70bcc5dd08..6b0becd98a 100644 --- a/internal/api/grpc/management/idp_converter.go +++ b/internal/api/grpc/management/idp_converter.go @@ -298,6 +298,7 @@ func addAzureADProviderToCommand(req *mgmt_pb.AddAzureADProviderRequest) command Tenant: idp_grpc.AzureADTenantToCommand(req.Tenant), EmailVerified: req.EmailVerified, 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), EmailVerified: req.EmailVerified, IDPOptions: idp_grpc.OptionsToCommand(req.ProviderOptions), + Scopes: req.Scopes, } }