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

How to enable Lambda feature?

Scheduled Pinned Locked Moved Solved
Q&A
5
8
971
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 17 May 2023, 12:58

    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.

    D 1 Reply Last reply 18 May 2023, 00:26 Reply Quote 1
    • D
      dan @mschmidt
      last edited by 18 May 2023, 00:26

      @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 19 May 2023, 08:01 Reply Quote 0
      • M
        mschmidt @dan
        last edited by 19 May 2023, 08:01

        @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.

        D 1 Reply Last reply 19 May 2023, 13:52 Reply Quote 0
        • D
          dan @mschmidt
          last edited by 19 May 2023, 13:52

          @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 22 May 2023, 14:08
          • L
            lachnewman007
            last edited by 30 Jun 2023, 04:30

            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"

            D 1 Reply Last reply 30 Jun 2023, 20:32 Reply Quote 1
            • D
              dan @lachnewman007
              last edited by 30 Jun 2023, 20:32

              @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 17 Oct 2023, 14:03 Reply Quote 0
              • E
                epnyc @dan
                last edited by 17 Oct 2023, 14:03

                @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.

                M 1 Reply Last reply 17 Oct 2023, 14:47 Reply Quote 0
                • M
                  mark.robustelli @epnyc
                  last edited by mark.robustelli 17 Oct 2023, 14:47

                  @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