supertokens-auth-react
supertokens-auth-react copied to clipboard
ReactJS authentication module for SuperTokens
If we do the following: ```tsx let google = ThirdPartyEmailPassword.Google.init(); ThirdPartyEmailPassword.init({ signInAndUpFeature: { providers: [{ ...google, getRedirectURL: () => { return "https://auth.esper.cloud/auth/callback/google" } }] } }) ``` The rendered button...
This is a great product and library. However my main criticism is the bundle size. Supertokens-auth-react: 590kb libphonenumber: 350kb react-phone-number-input: 212kb supertokens-website: 133kb chroma: 97kb emotion 69kb Combined this is...
Under some circumstances, a user may want to collect more than just email address or phone number in the signup process for passwordless (for example, adding a `name` field on...
Since `supertokens-auth-react` uses `@emotion/react` as a `dependency` causes the login/signup form from supertokens to not the get respected styles, *if* you're already using emotion in your project where you bring...
I followed the guide every bit of the instruction there but somehow I get this "global is not defined" error and I couldn't figure out what the problem is can...
## Problem Statement The SDK in several places uses `any` when adding explicit types to variables. While this fixes typescript error this introduces several other problems: - Bad dev experience...
The SDK should generate debug only logs to add some value to the user and to indicate proper functioning/error messaging. For example: SuperTokens.init should log "SuperTokens initialised successfully" or something...
This should make our translations easier to integrate with libs that provide a react hook.
This is so that while we fetch info about the session's existence, we can display some nice loading UI instead of nothing. It prevents the issue of the screen being...
When I upgrade `supertokens-auth-react` lib to 0.18 version, I keep getting node error in my terminal: ``` Files successfully emitted, waiting for typecheck results... [41793:0x1046a7000] 72092 ms: Mark-sweep (reduce) 2043.7...