We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to have a TS constant and a union type. Something like:
import {StytchToken, StytchTokenType} from "stytch"; const MAGIC_LINKS_TOKEN: StytchTokenType = StytchToken.Magic_Links; // "magic_links";
Docs:
https://stytch.com/docs/guides/dashboard/redirect-urls#structure
I don't want to use the "magic_links" string.
"magic_links"
The text was updated successfully, but these errors were encountered:
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!
Sorry, something went wrong.
Sweet, sounds good @chris-stytch . Will hardcode these for now.
No branches or pull requests
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.The text was updated successfully, but these errors were encountered: