Skip to content
Discussions/App Development/It seems that the Daml UI Template's Daml Hub login implementation is outdatedForum ↗

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

App Development8 posts480 views8 likesLast activity Jan 2022
GY
gyorgybalazsiOP
Jan 2022

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:

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:

https://hub.daml.com/docs/api#section/Onboarding-authenticated-users

AL
Alex_Matson
Jan 2022

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

GY
gyorgybalazsi
Jan 2022

Unfortunately it’s not working:

Isn’t the old subdomain deprecated already?

AL
Alex_Matson
Jan 2022

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

GY
gyorgybalazsi
Jan 2022

Thanks, now it works

DT
dtanabe
Jan 2022

Hi @gyorgybalazsi … we decided to extend the deprecation period here since we’ve discovered people are still relying on the old projectdabl.com domain, including, unfortunately, some of our own examples. :man_facepalming:

We’ll have more to say about this over the next few weeks, including an exact date where the 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!

GY
gyorgybalazsi
Jan 2022

Yes, thank you for your help!

GY
gyorgybalazsi
Jan 2022

Can I have the badge for spotting this bug?

← Back to Discussions