Addtional params in Passwordless email template

Hi all,

When I call the API POST /passwordless/start I want to send extra parameters and access them in the email template. How can I do that?

Example:

{
  "client_id": "XXXXXXxxxxxxxxxxxxxx",
  "connection": "email",
  "email": "xxx@mailinator.com", 
  "send": "link",
  "authParams": { 
    "scope": "openid roles offline_access email"
  },
**"isLogin": "true"**
}

then access it in the email template : 
        {% if authParams.isLogin == 'true' %}
          Login is true
        {% else %}
          Login is false
        {% endif %}

Thank you.

Sorry @duc, I’m afraid that’s not possible at the moment. What would be the use case?