nhost / hasura-auth

Authentication for Hasura.
https://nhost.io
MIT License
377 stars 114 forks source link

Clean the link in createEmailRedirectionLink #362

Closed kwiky closed 1 year ago

kwiky commented 1 year ago

Issue

Here , there is an unnecessary & character before the ticket parameter which can cause potential issues on some use case

Example : Android intent extras cut the path to /verify when parameter starts with ?&...

}/verify?&ticket=${ticket}&type=${type}&redirectTo=${encodeURIComponent(

Possible fix