Open grant opened 4 months ago
Heya @grant! Thanks for the feedback.
You can see how we handled this in one of our Next.js example apps here: https://github.com/stytchauth/stytch-nextjs-integration/blob/main/pages/authenticate.tsx#L5-L24
Our app using consts there does align with the theme of your feedback here as well. I'll chat with our SDK team about this!
Sweet, sounds good @chris-stytch . Will hardcode these for now.
I'd like to have a TS constant and a union type. Something like:
Docs:
https://stytch.com/docs/guides/dashboard/redirect-urls#structure
I don't want to use the
"magic_links"
string.