Hi. I'm using Auth0Provider and JWTAuthenticator. When the authenticator tries to verify
id_token returned by Auth0, the exception
"java.lang.IllegalArgumentException: Fraudulent JWT token" is thrown.
By inspecting the source code, I noticed that this means that the expected signature and the signature are not equal. I'm sure that the client secret is correct because the validation of the
id_token and the client secret with
https://jwt.io/ is successful.
The client secret given by Auth0 Dashboard is in Base64 format. I tried to set the client secret in JWTAuthenticatorSettings in different formats (Base64 or decoded in UTF-8) but it didn't work.
Do you know in which format should I pass the client secret? Or do you have any suggestions in how to solve this problem?
Thanks in advance.
Mattia