You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Registration object not available in JWT Populate Lambda immediately following registration
Description
If you are using a populate lambda, and basic self service registration the JWT populate lambda invoked to generate a JWT on the Token exchange will not have access to the registration object.
If you have code such as the following example, the registration object may be null and cause an exception when executing the lambda.
robotdan
changed the title
Registration object not available in JWT Populate Lambda immediately following registration
Registration object not available in JWT Populate Lambda when using self service registration
Jul 29, 2020
Registration object not available in JWT Populate Lambda immediately following registration
Description
If you are using a populate lambda, and basic self service registration the JWT populate lambda invoked to generate a JWT on the Token exchange will not have access to the registration object.
If you have code such as the following example, the
registration
object may benull
and cause an exception when executing the lambda.Additional symptoms are that if you are using the implicit grant, the
applicationId
androles
claims will be missing from the JWT.Affects versions
1.18.0, 1.18.1, 1.18.2, 1.18.3
Expected behavior
The
registration
object should be available in the lambda.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: