JWT SSO for private content - invalid secret key for RS256 signing algorithm

devcturla
Member

What's the correct value for the Secret Key form if the signing algorithm is RS256? I'm using the client secret key from the application settings on Cognito but I'm getting Invalid JWT Settings. 

 

 

0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Thought Leader

Hey @devcturla I have an update from our internal resources.

 

The most likely reason for the error 'Your Secret key is not valid' is either:

a.) They're entering in the 'private key' for their SSO implementation, we actually expect their 'public key'

b.) The secret key doesn't match the signing algorithm

 

Thanks! – Jaycee 





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




View solution in original post

0 Upvotes
3 Replies 3
NMakar
Member

@devcturla did you reach a solution?

0 Upvotes
Jaycee_Lewis
Solution
Thought Leader

Hey @devcturla I have an update from our internal resources.

 

The most likely reason for the error 'Your Secret key is not valid' is either:

a.) They're entering in the 'private key' for their SSO implementation, we actually expect their 'public key'

b.) The secret key doesn't match the signing algorithm

 

Thanks! – Jaycee 





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes
Jaycee_Lewis
Thought Leader

Hey, @devcturla  👋. Thanks for the great question! I am doing a bit of research for us and I'll follow up here. 


Additionally, I found this thread for a similar case but it didn't provide the specific bit of custom coding required https://community.hubspot.com/t5/APIs-Integrations/JWT-SSO-for-Private-Content-Invalid-Requirements-...

 

Talk soon 🧡
Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes