Hello,
I am trying to migrate a staging tenant from Rules to Actions.
First issue:
I have a rule defined where in a custom property in idToken
is being set throught context
context.idToken.email_verified = true
I would like to achieve the same using Actions. I did not find any documentation apart from setting custom claims.
Second issue:
In another rule, I have the below line:
context.idToken["https://website.com/claim"].is_property = true;
I want to do the same in actions. Using the setCustomClaim
method, it sets a new value. Since my claim is an object
, I would like to set a property while rest of the properties remain as it is.
Any solutions for the above 2 issues ?
Thank you!