Enrich profile with Rapleaf
What does it do?
This rule gets user information from rapleaf using the e-mail (if available). If the information is immediately available (signaled by a
statusCode=200), it adds a new property
rapLeafInfo to the user profile and returns. Any other conditions are ignored. See RapLeaf docs for full details.
How do I use it?
Just create a new rule in the Auth0 dashboard, and copy the following code replacing the placeholders with the appropriate values.
What is Rule-Based Authentication?
Rules can be used to enrich and transform the user profile, deny access to specific users under certain conditions, retrieve information from external services and much more. For more information about rules, please check the documentation