Navigation

    FusionAuth
    • Login
    • Search
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs

    SOLVED Kickstart properties

    Q&A
    2
    5
    293
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      paterik4 last edited by

      Hello!

      Is there any document or repository where I can find any single property and possible values for it that can be configured via kickstart?

      For example, I would like to configure JWT for an application.

      I know some basics so I configured it like this:

      "jwtConfiguration": {
           "enabled": true,
           "timeToLiveInSeconds": 604800,
           "refreshTokenTimeToLiveInMinutes": 43200,
           "refreshTokenExpirationPolicy": "Fixed",
           "refreshTokenUsagePolicy": "Reusable"
      },
      

      Now I am seeking other properties, like Id Token signing key and possible values that can be selected in the admin panel from a dropdown.

      How should I set the Id Token signing key property to OpenID HSA-256 for example?

      or the Access Token signing key configuration option or in the OAuth configuration how can I configure PKCE?

      I couldn't find any document or repo that covers at least the logic behind the kickstart configuration property names and their values.

      I know there are so many examples for apps and for simple kickstart files but these are not covering all configuration options.

      Thanks for your help in advance!

      Patrick

      dan 1 Reply Last reply Reply Quote 1
      • dan
        dan @paterik4 last edited by

        Hiya! @paterik4

        Kickstart is a wrapper over our APIs, so you want the API documentation. There are separate pages for each API endpoint, but the docs are all listed here: https://fusionauth.io/docs/v1/tech/apis/

        Hope that helps.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        P 1 Reply Last reply Reply Quote 0
        • P
          paterik4 @dan last edited by

          @dan

          Yes, it was helpful, thank you very much!

          The only thing I didn't see but I figured out is setting the Id Token signing key to OpenID Connect compliant HMAC using SHA-256.

          What I did is set manually that property and took a look at the logs. There I found the new value of it and added that to kickstart.json.

          I am curious if this is working because I set the algorithm and the accessTokenKeyId as follows:

                      "algorithm": "HS256",
                      "accessTokenKeyId": "#{FUSIONAUTH_DEFAULT_SIGNING_KEY_ID}",
          

          and I added let's say a random uuid for the idTokenKeyId, or it is working because I added the hard coded idTokenKeyId which gives me the OpenID Connect compliant HMAC using SHA-256 name and value.

          dan 1 Reply Last reply Reply Quote 0
          • dan
            dan @paterik4 last edited by

            @paterik4 I'm not sure I understand your question. Are you saying you wanted the id of the OpenID Connect compliant HMAC using SHA-256 key?

            If so, these and other constant values are defined here:

            https://fusionauth.io/docs/v1/tech/reference/limitations#default-configuration

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            P 1 Reply Last reply Reply Quote 0
            • P
              paterik4 @dan last edited by

              @dan

              Yes, this answers my question, thank you!

              1 Reply Last reply Reply Quote 1
              • Topic has been marked as solved  P paterik4 
              • First post
                Last post