Hi,
I am currently working on a use case that requires the generation of JWT tokens based on PKCS#8 standards. I've chosen JWT plugin for this task. However, it seems that this plugin is compatible only with private keys that are based on PKCS#1 (RSA) standards.
Is there any known workaround to fulfill this requirement ?
Thanks,
Discussion posts and replies are publicly visible
vineeta3061 I have a requirement to generate JWT token using the plug in and i am getting error "appianprivatekeypassword or appianprivatekey for Credential Store was null". Can you please let me know how you configured the key value in adminconsole to generate token?. Thanks for help
Can you provide a screenshot of the function you are calling and the corresponding Third-party credential store? It should look something like this. app.screencast.com/eKW98q8GvemuT
Thanks Shawn Bittinger , we were missing some parameter and after we inputted the key, we are able to generate the token successfully. After creation of token, we pass that to Snowflake as Key/pair JWT Auth and it says invalid JWT Token which means it doesnt accept. Can you please let us know if any solution.
I am currently using this plug-in to generate a JWT for key-pair auth in Snowflake without any issues.
1) Can you ensure that you are setting up the JWT claims per Snowflake's documentation?
2) Have you verified that the claims look as you expect when you paste the JWT into https://jwt.io/
The second point is important... first of all... ensure that the token is correct.
OK thanks,