FusionAuth/fusionauth-java-client

failed to retrieve Public Keys by `retrieveJWTPublicKeyByApplicationId`

hantsy opened this issue · 4 comments

In our application, we use Passwordless code to login, but when I tried to use retrieveJWTPublicKeyByApplicationId to get the public keys, failed.

wasSucessful is false, but both successResponse and errorResponse are null, there is also no exception.message.

@hantsy does it work if you call the API directly using curl or something similar?

https://fusionauth.io/docs/v1/tech/apis/jwt#retrieve-public-keys

We are using a self-hosted version(installed on AWS).

Sounds good.

Can you replicate the issue when you use curl against your hosted instance (as opposed to the java client)?

This helps us nail down where the issue is:

  • in the client
  • in the API