netlify / netlify-identity-widget

A zero config, framework free Netlify Identity widget
https://identity.netlify.com
MIT License
772 stars 237 forks source link

Ability to specify path for confirmation_token parameter in email #584

Closed thdoan closed 1 year ago

thdoan commented 1 year ago

Currently, the confirmation_token parameter is always appended to the root path, e.g.:

https://www.mysite.com/#confirmation_token=<token>`

What if you implemented this widget in a subdirectory? It would be great if we can customize the path of the confirmation link, e.g.:

https://www.mysite.com/<path>/#confirmation_token=<token>`
thdoan commented 1 year ago

It turns out the solution is custom email templates: https://docs.netlify.com/visitor-access/identity/identity-generated-emails/