# It seems that the Daml UI Template's Daml Hub login implementation is outdated

**URL:** <https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660>\
**Category:** App Development\
**Tags:** features and bugs, damlhub\
**Created:** [January 5, 2022, 3:48pm UTC](https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660 "2022-01-05T15:48:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [January 5, 2022, 3:48pm UTC](https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660/1 "2022-01-05T15:48:11Z")

</div>

When I upload the Daml UI Template on Daml Hub, and try to use the “LOGIN WITH DABL” button on the login page, I get the following error:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/2/240d22a5a40836af2d261b4e155d64b8e62dcdf4.png)

The reason for this must be that the login link changed on Daml Hub, and the UI Template code wasn’t updated.

According to the Daml Hub docs, the login button URL should be the following:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/2/28c679df7b9e0cd839d12397fc9a13de6e1426af.png)

[https://hub.daml.com/docs/api#section/Onboarding-authenticated-users](https://hub.daml.com/docs/api#section/Onboarding-authenticated-users)

---

<div class="post-metadata">

**Author:** ![Alex\_Matson](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/alex_matson/32/1572_2.png) [@Alex\_Matson](https://forum.canton.network/u/Alex_Matson)\
**Post date:** [January 5, 2022, 4:33pm UTC](https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660/2 "2022-01-05T16:33:10Z")

</div>

Hi @gyorgybalazsi ,

Indeed, the template needs to be updated for compatibility with the new Daml Hub domains. Until then, it should still work from its legacy domain (located under Ledger Settings \> Subdomains). The domain may need to be re-enabled if it’s not already

---

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [January 5, 2022, 4:45pm UTC](https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660/3 "2022-01-05T16:45:16Z")

</div>

Unfortunately it’s not working:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/3/3fd99871d3009899dfb7970853253bee518dd3f7.png)

Isn’t the old subdomain deprecated already?

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/b/b3ad42f1fbb9847ab6ae895748aa219294895a1e.png)

---

<div class="post-metadata">

**Author:** ![Alex\_Matson](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/alex_matson/32/1572_2.png) [@Alex\_Matson](https://forum.canton.network/u/Alex_Matson)\
**Post date:** [January 5, 2022, 4:54pm UTC](https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660/4 "2022-01-05T16:54:51Z")

</div>

It looks like the site was slow to come up, but [https://bhg6dxuqztn8v68w.projectdabl.com](https://bhg6dxuqztn8v68w.projectdabl.com) is loading for me now: try giving it a refresh

---

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [January 5, 2022, 5:00pm UTC](https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660/5 "2022-01-05T17:00:34Z")

</div>

Thanks, now it works

---

<div class="post-metadata">

**Author:** ![dtanabe](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/dtanabe/32/91_2.png) [@dtanabe](https://forum.canton.network/u/dtanabe)\
**Post date:** [January 5, 2022, 5:08pm UTC](https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660/6 "2022-01-05T17:08:50Z")

</div>

Hi @gyorgybalazsi … we decided to extend the deprecation period here since we’ve discovered people are still relying on the old [projectdabl.com](http://projectdabl.com) domain, including, unfortunately, some of our own examples. 🤦‍♂️

We’ll have more to say about this over the next few weeks, including an exact date where the [projectdabl.com](http://projectdabl.com) domain will be shut down, but for now I’m glad you’re able to get up and running!

We’ll also be fixing the template, so thank you very much for bringing that to our attention!

---

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [January 5, 2022, 5:19pm UTC](https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660/7 "2022-01-05T17:19:20Z")

</div>

Yes, thank you for your help!

---

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [January 7, 2022, 1:13pm UTC](https://forum.canton.network/t/it-seems-that-the-daml-ui-templates-daml-hub-login-implementation-is-outdated/3660/8 "2022-01-07T13:13:05Z")

</div>

Can I have the badge for spotting this bug?
