The Extra settings parameter should be a valid json object

I can’t seem to find a way to switch from emailing OTP code to magic link.

Tried setting this in extra settings advanced tab:

var options = {
passwordlessMethod: ‘link’
};

But getting this message:

The Extra settings parameter should be a valid json object

Thanks

Hi @brkncoyot3 … that error message is saying that the settings field wants JSON but what you’re saving does not pass validation. You’re using JavaScript instead of just the JSON it needs. Try this:

{"passwordlessMethod": "link"}
1 Like

Much thanks! Appreciate :fire:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.