Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

When using HashLocationStrategy for URLs, email links don't render properly #42

Open
mraible opened this issue Jan 10, 2017 · 0 comments

Comments

@mraible
Copy link
Contributor

mraible commented Jan 10, 2017

Reported by a customer:

We needed to use the HashLocationStrategy for the URLs so they get processed properly. This all works fine. We ran into a quirk on the stormpath administration side configuring the emails. I just wanted to make sure that I am doing it correctly.

In the Link Base URL I originally changed it from

http://localhost:4200/verify

to:

http://localhost:4200/#/verify

but the ${url} property comes out like this

http://localhost:4200?sptoken=2Y6Wnx0xwCv44l4mguxMrx/#/verify

so at the end of the day I just constructed the url body of the email like this

http://localhost:4200/#/verify?${sptokenNameValuePair}

Just passing along because I would of thought the processing on the ${url} would have been done differently.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant