I've built a security manager based on using JWT.
However, when I implement this and attempt to open a secure form, there are errors.
The logs indicate that there are compilation errors because the following class cannot be resolved:
However, the KB article about Fluent SDK Security Configuration says that the library:
is white listed.
Are they the same, or different libraries?
Is the installed library up to date?
How can I overcome this issue?
Any ideas would be appreciated.
The installed library is not up to date. The version in TM 17.10 is 2.2.1 and the current is 3.3.0. This makes working with the library difficult but you can reference the java doc at: https://jar-download.com/java-documentation-javadoc.php?a=java-jwt&g=com.auth0&v=2.2.1
There is a page in the Avoka KB on this, but the code didn't work for me (I was trying to integrate with Auth0 as a test).
How to decrypt Json Web Token (JWT) in TM
The approach will differ depending on how your JWT has been configured. Is it encrypted, or does it only need to be decoded, for example?
Happy to help further if you want to have a conversation - Nick has my contact details if you want to reach out.
thanks for the information, very helpful. The KB article about third party libraries mentioned that the jwt library would not work in Fluent, but didn't give much detail.
I managed to get my proof of concept working, for a valid JWT and an invalid one.
So, I'll be in touch with some details.