내 커뮤니티 업적 표시줄을 확대합니다.

해결됨

JWT exchanged access token signature invalid

Avatar

Level 1

This is regarding the Technical account created from Cloud manager => Integrations. I am trying about the nodejs sample code given in aem documentation for generating the JWT followed by exchanging it for access token using /ims/exchange/jwt . Since a external application will be using it i need to validate the access token sent in request to our application . I am using "com.auth0/java-jwt" libraries to verify the access token. But the only error i keep getting is 

The Token's Signature resulted invalid when verified using the Algorithm: SHA256withRSA 

 

I have confirmed that the private/public keys match (with openSSL commands), the original JWT created using private key is verified with the public key both by code and jwt.io. But when it comes to verifying the access token exchanged for that same JWT that does not get verified with the public key through the code as well jwt.io. What can be the reason? Is Oauth Server-to-Server a better workable option? 

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee
Employee

JWT credentials on the Adobe Developer Console are now end-of-life. Since your question is related to JWT credentials from the AEM Developer Console (which have not been deprecated yet), I'd suggest raising a support ticket to reach the AEM team. 

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Employee
Employee

JWT credentials on the Adobe Developer Console are now end-of-life. Since your question is related to JWT credentials from the AEM Developer Console (which have not been deprecated yet), I'd suggest raising a support ticket to reach the AEM team.