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

    Best posts made by shyamsundar.k

    • How to generate and authorized java spring controller using JWT

      I am a starter plan user and want to implement JWT using client credentials flow in my Java Spring Boot Application. I generated the license in the fusion auth portal and set up the auth docker instance. I am getting the below error when generating the JWT token using client_id and secret.

      {
          "error": "not_licensed",
          "error_description": "You must enter a valid license Id in order to use the Entity Management features of FusionAuth, which include the Client Credentials Grant.",
          "error_reason": "not_licensed"
      }
      

      Please help me in forming the correct token generation call and then use the same token to authorize my controller.

      curl --location --request POST 'http://<base_url>:9011/oauth2/token?grant_type=client_credentials&client_id=<>&client_secret=<>&redirect_uri=<url>' \
      --data ''
      
      posted in General Discussion fusionauth jwt java client creds
      S
      shyamsundar.k
    • RE: How to generate and authorized java spring controller using JWT

      @dan Thanks. I am able to add the license now.

      posted in General Discussion
      S
      shyamsundar.k