In tenants where whitelist rules are enabled, some users from the Linkedin connection are unable to login, with the following error returned:
{
"error": "access_denied",
"error_description": "Invalid response code from the auth0-sandbox: HTTP 400. Invalid or unexpected token"
}
When I debug the webtask using the live logger, I found that the profile being passed into the function is not formatted correctly:
{
"code": 400,
"message": "Compilation failed: Invalid or unexpected token",
"error": "Invalid or unexpected token",
Even for a simple rule, such as this, the webtask request always fails compilation (and does not log on the first line):
function (user, context, callback) {
console.log('HERE');
callback(null, user, context);
}
This is very urgent, please look into which characters need to be stripped from the users profile so that the webtask will compile and run successfully.