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

    How to enable Lambda feature?

    Scheduled Pinned Locked Moved Solved
    Q&A
    5
    8
    960
    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.
    • M
      mschmidt
      last edited by

      Hi, want to add a claim to the JWT access token. I have read that this can be accomplished with the use of Lambdas. In my installation it states that this feature is not enabled. I thought that this feature is part of the community edition. Does it have to be enabled anywhere? And if so where can I do this? Thanks in advance.

      danD 1 Reply Last reply Reply Quote 1
      • danD
        dan @mschmidt
        last edited by

        @mschmidt

        Thanks for using FusionAuth!

        Can you provide a few more details:

        • what grant you are using
        • what lambda type you are trying to set

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

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

          @dan I am working with a fresh installation of FusionAuth. There were no users defined lambdas installed. The message in the JWT tab in the Application settings were a bit misleading : "Feature is disabled. ..." . I thought that I had to enabled the feature "lambdas" somewhere.

          I have created a new lambda and now I can select it in the JWT tab in the Application settings.

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

            @mschmidt Ah, sorry for the confusion. Glad you solved the issue!

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

            1 Reply Last reply Reply Quote 0
            • M mschmidt has marked this topic as solved on
            • L
              lachnewman007
              last edited by

              Hi i am having the same issue. i have created a lamda but cannot select it from the application settings. it says "Feature Disabled: no lambdas selected"

              danD 1 Reply Last reply Reply Quote 1
              • danD
                dan @lachnewman007
                last edited by

                @lachnewman007 can you share which lambda you are trying to enable?

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

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

                  @dan hey, sorry to resurrect an ancient thread. I created a custom "Client credentials JWT populate" lambda but am running into the same issue as the posters above ("Feature Disabled: no lambdas selected").

                  I tried updating plans from the Free Trial to Starter in the hopes that this would fix it (slightly rushed; hoping to evaluate a migration off of Auth0 for my employer) but the feature is still not enabled.

                  mark.robustelliM 1 Reply Last reply Reply Quote 0
                  • mark.robustelliM
                    mark.robustelli @epnyc
                    last edited by mark.robustelli

                    @epnyc Are you sure the "Client credentials JWT populate" is the type of lambda you want to create and not a "JWT populate" lambda?

                    If you are looking to assign a "JWT Populate" lambda, you need to go to Applications -> Your Application and select to the JWT tab and then select the lambda under the Lambda settings. (You will need to create a lambda of this type in Customizations -> Lambdas)

                    If you are looking to assign a "Client credentials JWT populate" lambda (sounds like this is what you created), you need to **Tenants -> Your Tenant ** and then select the OAuth tab and choose the Client Credentials populate lambda.

                    Client Credentials JWT Populate lambda documentation

                    JWT Populate lambda documentation

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post