From ed2588f13d0ec7ebc061eac02115070794dc1016 Mon Sep 17 00:00:00 2001 From: Silvan Date: Wed, 12 Apr 2023 07:27:07 +0200 Subject: [PATCH] fix(idp): handle scopes in azureAD (#5665) --- internal/api/grpc/management/idp_converter.go | 2 ++ 1 file changed, 2 insertions(+) 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, } }