From ba7093486fb20daf50d6f83e89e154eaca80d688 Mon Sep 17 00:00:00 2001 From: Jorge Daboub Date: Sat, 7 Dec 2024 14:33:54 -0800 Subject: [PATCH] add x5c header on pop call --- pkg/internal/pop/msal_confidential.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/internal/pop/msal_confidential.go b/pkg/internal/pop/msal_confidential.go index e14a6f7..6511ac8 100644 --- a/pkg/internal/pop/msal_confidential.go +++ b/pkg/internal/pop/msal_confidential.go @@ -42,12 +42,14 @@ func AcquirePoPTokenConfidential( clientID, cred, confidential.WithHTTPClient(options.Transport.(*http.Client)), + confidential.WithX5C(), ) } else { client, err = confidential.New( authority, clientID, cred, + confidential.WithX5C(), ) } if err != nil {