How to enable Lambda feature?
-
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.
-
Thanks for using FusionAuth!
Can you provide a few more details:
- what grant you are using
- what lambda type you are trying to set
-
@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.
-
@mschmidt Ah, sorry for the confusion. Glad you solved the issue!
-
-
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"
-
@lachnewman007 can you share which lambda you are trying to enable?
-
@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.
-
@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.