Hi !
Thanks for the quick response
I probably should have explained better.
The code is really not failing.
I have a rule that calls my web service that adds information to the user after authentication.
For most users , it calls my service and returns the user info as below…Stringified JSON…
{“sub”:“auth0|xxxxxxxxxxxxxxxxxxxx”,“http://xxxxxxx.com/xxxxxx":{“ID”:“4”,“role”:“web”,“FirstName”:“jxxxxf@twc.com”,"LastName”:null}}
My rule added the attributes starting with “http …”
What’s confusing is that certain users authenticate without the rule being called and return this…
{“sub”:“auth0|xxxxxxxxxxxxxxxxxxxx”}
I would assume that the rule would always be called.
I must be missing something
Thanks for your help