<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: &amp;quot;Could not match JWT signature to any of the bindings&amp;quot; error meaning when getting access token? in Adobe I/O Console Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/453634#M305</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17540464"&gt;&lt;/LI-USER&gt;&amp;nbsp;please feel free to post a new forum question with the exact issue details and we can probably help you out.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2022 12:25:32 GMT</pubDate>
    <dc:creator>tmj</dc:creator>
    <dc:date>2022-05-27T12:25:32Z</dc:date>
    <item>
      <title>"Could not match JWT signature to any of the bindings" error meaning when getting access token?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/367853#M202</link>
      <description>&lt;P&gt;I have an app that uses the Privacy API to anonymise user details upon request. The app generates a JWT and sends it to&amp;nbsp;&lt;A href="https://ims-na1.adobelogin.com/ims/exchange/jwt" target="_blank"&gt;https://ims-na1.adobelogin.com/ims/exchange/jwt&lt;/A&gt;&amp;nbsp;to retrieve an access token to use for the Privacy API request. However, following the recent changes to the Adobe I/O console, my app has stopped working. In an effort to get it working again, I have created a new project in the console to use for it. Now when trying to get an access token, I am getting a 400 bad request error with the detail of&amp;nbsp;"Could not match JWT signature to any of the bindings". Can anyone please tell me exactly what causes this specific error? I can't find it mentioned in the documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 11:43:14 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/367853#M202</guid>
      <dc:creator>BenCrowe</dc:creator>
      <dc:date>2020-06-24T11:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: "Could not match JWT signature to any of the bindings...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/367869#M203</link>
      <description>&lt;P&gt;I've found the answer myself; I was using the incorrect private key.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 14:11:00 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/367869#M203</guid>
      <dc:creator>BenCrowe</dc:creator>
      <dc:date>2020-06-24T14:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: "Could not match JWT signature to any of the bindings" error meaning when getting access token?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/417743#M204</link>
      <description>&lt;P&gt;Hi BenCrowe, I'm trying to create an app to do the same thing; generate a JWT to get an access token. Could you do me a massive favor and share your code with me? I'm struggling to get my app to work. Much appreciated if possible! Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 02:39:57 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/417743#M204</guid>
      <dc:creator>JohnnyBravo</dc:creator>
      <dc:date>2021-07-31T02:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: "Could not match JWT signature to any of the bindings...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/417992#M205</link>
      <description>Hi JohnnyBravo, which part are you struggling with? And what language are you using?</description>
      <pubDate>Tue, 03 Aug 2021 08:42:43 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/417992#M205</guid>
      <dc:creator>BenCrowe</dc:creator>
      <dc:date>2021-08-03T08:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: "Could not match JWT signature to any of the bindings...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/418043#M206</link>
      <description>&lt;P&gt;Hi BenCrowe, thank you very much for the reply. I'm using C# / console app, and I keep getting the same error you got&amp;nbsp;&lt;FONT face="inherit"&gt;"Could&amp;nbsp;not&amp;nbsp;match&amp;nbsp;JWT&amp;nbsp;signature&amp;nbsp;to&amp;nbsp;any&amp;nbsp;of&amp;nbsp;the&amp;nbsp;bindings" when I try to get the access token after generating the JWT per the below and posting&lt;/FONT&gt;&lt;FONT face="inherit"&gt;. I'm certain I have the right key. Below is what I have. Thanks again for any tips, much appreciated!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;using Microsoft.IdentityModel.Tokens;&lt;BR /&gt;using RestSharp;&lt;BR /&gt;using System;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;using System.IdentityModel.Tokens.Jwt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;using System.Linq;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;using System.Text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;string key = System.IO.File.ReadAllText(@"C:\[directory....]\private.key");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var securityKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(key));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var credentials = new SigningCredentials&lt;BR /&gt;(securityKey, SecurityAlgorithms.HmacSha256Signature);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var header = new JwtHeader(credentials);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var payload = new JwtPayload&lt;BR /&gt;{&amp;nbsp; // payload stuff - double checked - values correct&lt;BR /&gt;{"exp",'....''},&lt;BR /&gt;{ "iss",",,,,,,"},&lt;BR /&gt;{"sub","......."},&lt;BR /&gt;{"https://.........",true},&lt;BR /&gt;{"aud","......."}&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var secToken = new JwtSecurityToken(header, payload);&lt;BR /&gt;var handler = new JwtSecurityTokenHandler();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var tokenString = handler.WriteToken(secToken);&lt;/P&gt;&lt;P&gt;Console.WriteLine(tokenString);&lt;BR /&gt;Console.WriteLine("Consume Token");&lt;/P&gt;&lt;P&gt;var token = handler.ReadJwtToken(tokenString);&lt;/P&gt;&lt;P&gt;Console.WriteLine(token.Payload.First().Value);&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 17:14:54 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/418043#M206</guid>
      <dc:creator>JohnnyBravo</dc:creator>
      <dc:date>2021-08-03T17:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: "Could not match JWT signature to any of the bindings" error meaning when getting access token?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/418075#M207</link>
      <description>Thank you for the reply BenCrowe. I'm using C#. I'm getting the same error you mentioned you got before "Could not match JWT signature to any of the bindings" when trying to retrieve the access token. I'm sure I'm using the correct private key. How did you put the key into your code? I'm using System.IO and reading the key from a folder on C: drive. Thanks again</description>
      <pubDate>Wed, 04 Aug 2021 00:38:38 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/418075#M207</guid>
      <dc:creator>JohnnyBravo</dc:creator>
      <dc:date>2021-08-04T00:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: "Could not match JWT signature to any of the bindings...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/418131#M208</link>
      <description>&lt;P&gt;Hi JohnnyBravo, I'm afraid I don't know C#. The code I wrote is in PHP for a Linux-based server. All I can suggest is outputting the key data you are reading in somewhere, a debug log or something, to make sure you are reading it correctly. I would also maybe avoid applying the UTF8 coding to the key to see if that helps, it may be changing the value somehow.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 08:40:45 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/418131#M208</guid>
      <dc:creator>BenCrowe</dc:creator>
      <dc:date>2021-08-04T08:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: "Could not match JWT signature to any of the bindings" error meaning when getting access token?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/418207#M209</link>
      <description>Thank you BenCrowe. I really appreciate your replies and help. I'll try the tips you recommended and see if that does the trick. Thanks again, take care.</description>
      <pubDate>Wed, 04 Aug 2021 17:20:15 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/418207#M209</guid>
      <dc:creator>JohnnyBravo</dc:creator>
      <dc:date>2021-08-04T17:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: "Could not match JWT signature to any of the bindings" error meaning when getting access token?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/453288#M304</link>
      <description>&lt;P&gt;Hi JohnnyBrovo,&lt;/P&gt;&lt;P&gt;I am facing the same issue. Can you please help me.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 09:43:50 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/453288#M304</guid>
      <dc:creator>mukeshpatil</dc:creator>
      <dc:date>2022-05-25T09:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: "Could not match JWT signature to any of the bindings" error meaning when getting access token?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/453634#M305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17540464"&gt;&lt;/LI-USER&gt;&amp;nbsp;please feel free to post a new forum question with the exact issue details and we can probably help you out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 12:25:32 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-console-questions/quot-could-not-match-jwt-signature-to-any-of-the-bindings-quot/m-p/453634#M305</guid>
      <dc:creator>tmj</dc:creator>
      <dc:date>2022-05-27T12:25:32Z</dc:date>
    </item>
  </channel>
</rss>

