@dan I did not initially publish any key pairs. This was part of the problem for sure.
Best posts made by stacey
-
RE: JWT public keys are emptyposted in General Discussion
-
JWT public keys are emptyposted in Q&A
Hey there… I’ve been searching for a solution to problem I am having with the /jwt/public-key endpoint. It seems there are no keys being returned. The response is
{"publicKeys":{}}When I supply an application ID with the request, I get an exception
The @JSONResponse field [response] in the action [class io.fusionauth.app.action.api.jwt.PublicKeyAction] is null. It cannot be null!Any insight on this? Am I missing a configuration setting somewhere? I would have expected maybe a default key would have been returned.
Latest posts made by stacey
-
RE: JWT public keys are emptyposted in General Discussion
@dan I did not initially publish any key pairs. This was part of the problem for sure.
-
JWT public keys are emptyposted in General Discussion
I am trying to retrieve the JWT public keys via the api endpoint
/api/jwt/public-key. The issue is that the response returns empty.{"publicKeys":{}}When I try to target a specific application id via the endpoint
/api/jwt/public-key?applicationId={applicationId}. That call throws an exception (from the logs):ERROR io.fusionauth.app.primeframework.error.ExceptionExceptionHandler - An unhandled exception was thrown org.primeframework.mvc.PrimeException: The @JSONResponse field [response] in the action [class io.fusionauth.app.action.api.jwt.PublicKeyAction] is null. It cannot be null!Any insight in what is going on here or how to fix? Did I miss some configuration somewhere? I would have expected at least the default keys to be returned. For reference I am running debian self hosted v1.40.2
Thanks!
-
JWT public keys are emptyposted in Q&A
Hey there… I’ve been searching for a solution to problem I am having with the /jwt/public-key endpoint. It seems there are no keys being returned. The response is
{"publicKeys":{}}When I supply an application ID with the request, I get an exception
The @JSONResponse field [response] in the action [class io.fusionauth.app.action.api.jwt.PublicKeyAction] is null. It cannot be null!Any insight on this? Am I missing a configuration setting somewhere? I would have expected maybe a default key would have been returned.