I am trying to authenticate a Microsoft Teams custom Bot with ColdFusion, following the Microsoft instructions in C#. I also tried following this PHP example. But I'm not having any luck. Any idea what I'm missing here?

<cfset secretKey = "MsVx7SpJKnSiycvsUyLMiD8lDIFkEUDhuYuFAT94hXY="> <cfset httpRequestData = GetHttpRequestData()> <cfset c = httpRequestData.content> <cfset calculated_hmac = toBase64(hmac(c, secretKey, "HMACSHA256"))>

I'm getting this...

calculated_hmac: NjE2RUY1RjREQTNEMzk1Q0RBNUJDMEE2NDhFNzk3RDIyNUMzRDJDMjk5NTYzMDgxODk0NkU3Njc3RTVEQTAyQQ==

While the headers.authorization from Microsoft is this...

HMAC 6N0WyOW7g+LqShKYsouWOrPjgh0PD1gazfwNeNwpuS8=

For this specific example the GetHttpRequestData().content was...