The intellisense inside Auth0 actions will falsely identify class properties starting with “user” as trying to set jwt claims incorrectly.
class FooClass
{
constructor()
{
this.userProp = "test123";
}
}
Error:
Use `api.idToken.setCustomClaim("foo", "bar")` in Actions instead of `user.foo = "bar"`.Rules migration guide
(property) FooClass.userProp: any