FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. stacey
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 2
    • Controversial 0
    • Groups 0

    stacey

    @stacey

    2
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Vancouver, Canada

    stacey Unfollow Follow

    Best posts made by stacey

    • RE: JWT public keys are empty

      @dan I did not initially publish any key pairs. This was part of the problem for sure.

      posted in General Discussion
      S
      stacey
    • JWT public keys are empty

      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.

      posted in Q&A
      S
      stacey

    Latest posts made by stacey

    • RE: JWT public keys are empty

      @dan I did not initially publish any key pairs. This was part of the problem for sure.

      posted in General Discussion
      S
      stacey
    • RE: JWT public keys are empty

      Thanks for the update!

      posted in Q&A
      S
      stacey
    • JWT public keys are empty

      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!

      posted in General Discussion
      S
      stacey
    • JWT public keys are empty

      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.

      posted in Q&A
      S
      stacey