# Passwordless custom link not generating ({{ application.callback\_domain }} and liquid syntax(.first, .last) not working)

**URL:** <https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896>\
**Category:** Get Help\
**Tags:** callback-url, state, bug, verification-email, auth0\
**Created:** [October 6, 2019, 11:21am UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896 "2019-10-06T11:21:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![merzzrc](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@merzzrc](https://community.auth0.com/u/merzzrc)\
**Post date:** [October 6, 2019, 11:21am UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/1 "2019-10-06T11:21:33Z")

</div>

Hi All,

We have been using AuthO’s passwordless verification (sending link using email) with SendGrid email provider for the past few months. However, since 03rd Oct 2019, the magic link/the redirect URL is not being generated.

As per the logs on AuthO, I could see that the parameters are being passed to AuthO from our API but when the end user receives the email, the state and redirect\_uri values are missing.

**Redirect link:**

{% assign id = ‘’ %}  
{% assign split = link | split:“&” %}  
{% for item in split %}  
{% assign pair = item | split:‘=’ %}  
{% if pair.first == ‘state’ %}  
{% assign id = pair.last %}  
{% endif %}  
{% endfor %}

{% assign redirect = “” | append:application.callbacks.first | append:“?code=” | append:code | append:“&id=” | append:id | append:“&email=” | append:user.email %}

**AuthO log** (has state and redirect\_uri):

 ![AuthO%20log](https://global.discourse-cdn.com/auth0/original/3X/7/f/7f49010e3ebe85948268279ee69a9c4e26385099.png)

**Current URL** (missing redirect\_uri/(application.callback\_domain) and state):

![Current%20URL](https://global.discourse-cdn.com/auth0/original/3X/a/6/a6ac37290d781785fc2ce04d5900465cceb94ef7.jpeg)

I could see two issues in the generated link.

- **It is missing {{ application.callback\_domain }}**.
- **The liquid syntax(.first, .last) in email templates are not working**.

**Expected URL** :

 ![Expected%20URL](https://global.discourse-cdn.com/auth0/original/3X/4/6/464d05b94862e76a2ac64e26723d73d65f7b1966.jpeg)

Any assistance is much appreciated - thank you in advance.

Thanks,

Merz

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 8, 2019, 9:36pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/2 "2019-10-08T21:36:48Z")

</div>

Hi @merzzrc,

Welcome to the Auth0 Community Forum!

Did you switch to the _New Universal Login Experience_?

It does not support passwordless at this time.

If not, we can dive deeper into your issue.

Hope this helps!

Thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![merzzrc](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@merzzrc](https://community.auth0.com/u/merzzrc)\
**Post date:** [October 9, 2019, 12:21am UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/4 "2019-10-09T00:21:51Z")

</div>

Hi @dan.woda,

Thank you for your reply. We didn’t make any attempts to switch to Universal login(we are not calling Auth0’s /authorize endpoint which triggers Universal Login as per [Auth0 Universal Login](https://auth0.com/docs/universal-login#implement-universal-login))

Happy to share more information if needed.

Thanks,  
Merz

---

<div class="post-metadata">

**Author:** ![brooke](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brooke/32/12851_2.png) [@brooke](https://community.auth0.com/u/brooke)\
**Post date:** [October 17, 2019, 12:54am UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/5 "2019-10-17T00:54:47Z")

</div>

@dan.woda I am working with @merzzrc - we have had to disable passwordless authentication as this issue is blocking our users. Are you able to advise if Auth0 are looking into this issue? This was working with no issues until Oct 3, we want to continue to use passwordless but will be forced to look at other options if there is no solution for this issue. Please help!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 17, 2019, 9:07pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/6 "2019-10-17T21:07:11Z")

</div>

Hi @brooke,

Sorry for the delayed response. Could you please **DM** me the the name of your tenant so I can take a look further?

Thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 18, 2019, 9:57pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/7 "2019-10-18T21:57:34Z")

</div>

Can you please **DM** me a HAR file so I can investigate further?

> **[Generate and Analyze HAR Files](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files)**
>
> Learn how to troubleshoot with HAR files and steps to generate a HAR file.

---

<div class="post-metadata">

**Author:** ![brooke](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brooke/32/12851_2.png) [@brooke](https://community.auth0.com/u/brooke)\
**Post date:** [October 24, 2019, 11:33pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/9 "2019-10-24T23:33:24Z")

</div>

Hi @dan.woda I think @merzzrc has sent you the HAR file, have you been able to identify the cause of this problem? If there is no way to resolve this issue we will need to review alternate solutions as soon as possible. Any ideas or a progress update would be great!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 29, 2019, 6:14pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/10 "2019-10-29T18:14:45Z")

</div>

Hi @brooke,

Sorry for the delay.

The har file I was sent has no passwordless transactions in it. It looks like just a request to a drafts endpoint. Please review the HAR doc I linked above and record the entire authentication transaction so I can take a look.

As a note: we also offer dedicated support in our dev tier. It may be worth considering if you run into problems that are time sensitive like this and it fits your use case.

Thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![brooke](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brooke/32/12851_2.png) [@brooke](https://community.auth0.com/u/brooke)\
**Post date:** [October 29, 2019, 9:34pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/11 "2019-10-29T21:34:00Z")

</div>

@dan.woda - we are very interested in extra support from Auth0, however the pricing table on your site indicates that there is no additional support until Enterprise level. If there is a package at developer level that would provide tech assistance beyond forums I am definitely interested in discussing.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/1/3/13670cce3bb223192baf40013e09ca7363f2c204.png)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 29, 2019, 10:20pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/12 "2019-10-29T22:20:12Z")

</div>

@brooke,

Dev tier customers should have access to our support team. We recently did a pricing overhaul and I am wondering if it didn’t get added to the pricing page on accident. I will report back.

edit: I am happy to continue working through this, specifically look at that HAR

---

<div class="post-metadata">

**Author:** ![merzzrc](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@merzzrc](https://community.auth0.com/u/merzzrc)\
**Post date:** [October 30, 2019, 1:10am UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/13 "2019-10-30T01:10:49Z")

</div>

Hi @dan.woda,

Thank you for looking into this one for us - appreciate your assistance.

Here is what we do; when the request is made to drafts endpoint(which contains user email id), we are making AuthO’s **/passwordless/start** POST request from backend with below payload:

client\_id = our client id,

connection= “email”,

email = user email,

send= “code”,

authParams = (scope= “openid”, state=UUID, redirect\_uri=uri)

as per [Authentication API Explorer](https://auth0.com/docs/api/authentication#get-code-or-link)

So I’m not sure if I can record the entire authentication transaction as we are calling AuthO’s API from our backend – please comment on this.

Thanks and Regards,  
Merz

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 30, 2019, 6:56pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/15 "2019-10-30T18:56:45Z")

</div>

Hi @merzzrc @brooke,

I had some more time to dig into this today and reviewed the whole thing from the start.

Just to confirm, this all worked previous to 10/3 and nothing was changed? I cannot get `application.callbacks` to display, and can’t find a reference to it anywhere. Was this variable working?

---

<div class="post-metadata">

**Author:** ![merzzrc](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@merzzrc](https://community.auth0.com/u/merzzrc)\
**Post date:** [October 30, 2019, 11:17pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/16 "2019-10-30T23:17:47Z")

</div>

Hi @dan.woda,

Thank you for reviewing for us.

We configured the redirect URL(applications.callback) based on [Customize Email Templates](https://auth0.com/docs/email/templates#configuring-the-redirect-to-url) and yes, it was 100% working perfect till Oct 3rd.

Thanks and Regards,  
Merz

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 31, 2019, 8:45pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/17 "2019-10-31T20:45:47Z")

</div>

@merzzrc,

> [@merzzrc](#):
>
> We configured the redirect URL(applications.callback) based on [Customize Email Templates](https://auth0.com/docs/email/templates#configuring-the-redirect-to-url) and yes, it was 100% working perfect till Oct 3rd.

I am seeing `application.callback_domain` as an option on the page you linked, but not `applications.callback` or `application.callbacks`.

Will you give that a try?

---

<div class="post-metadata">

**Author:** ![merzzrc](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@merzzrc](https://community.auth0.com/u/merzzrc)\
**Post date:** [October 31, 2019, 10:43pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/18 "2019-10-31T22:43:55Z")

</div>

@dan.woda,

Yes, we tried that option too but no luck.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 4, 2019, 11:47pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/19 "2019-11-04T23:47:11Z")

</div>

I submitted a request to the engineering team to confirm the behavior. I will report back here.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 18, 2019, 11:22pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/20 "2019-11-18T23:22:13Z")

</div>

It looks like there were some changes that were causing this bug. Engineering has rolled out a fix for this and it should be on our stable release tomorrow.

---

<div class="post-metadata">

**Author:** ![merzzrc](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@merzzrc](https://community.auth0.com/u/merzzrc)\
**Post date:** [November 19, 2019, 9:34am UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/21 "2019-11-19T09:34:08Z")

</div>

That’s fantastic - thank you for the update, Dan.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 20, 2019, 8:53pm UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/22 "2019-11-20T20:53:56Z")

</div>

Let me know if things are still not working correctly.

Thanks @merzzrc

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [December 5, 2019, 12:53am UTC](https://community.auth0.com/t/passwordless-custom-link-not-generating-application-callback-domain-and-liquid-syntax-first-last-not-working/31896/23 "2019-12-05T00:53:59Z")

</div>

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