supertokens-auth-react icon indicating copy to clipboard operation
supertokens-auth-react copied to clipboard

ReactJS authentication module for SuperTokens

Results 87 supertokens-auth-react issues
Sort by recently updated
recently updated
newest added

### Steps to reproduce: 1. Passwordless setup 2. Enter email 3. Accidentally realized I was logged into the wrong account 4. Can not logout or back to sign in another...

We currently error out if: `dynamicLoginMethods` is enabled but `getTenantId` returns an unknown id. We should: - Show a sensible error in the console - Show the access denied screen...

`any` type in `getAccessTokenPayloadSecurely` isn't not helping making our code cleanr. Docs https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/sessions/claims/access-token-payload#reading-the-payload-on-the-frontend says it can return an object. ``` import Session from 'supertokens-web-js/recipe/session'; async function someFunc() { if (await...

## Summary of change (A few sentences about this PR) ## Related issues - Link to issue1 here - Link to issue1 here ## Test Plan (Write your test plan...

## Summary of change (A few sentences about this PR) ## Related issues - Link to issue1 here - Link to issue1 here ## Test Plan (Write your test plan...

The typing for `getRedirectionURL` requires the method to be async, but it doesn't need to be (case in point - one of the [official examples defines it synchronously](https://github.com/supertokens/supertokens-auth-react/blob/92c7c1e5ae1952d64c78e96c8cedebfa81fefcab/examples/with-sign-in-up-split-emailpassword/src/App.js#L44-L50). When trying...

Hello, first things first : i've made a project with all the latest version of next and supertokens to test this, so you can consider the current version as the...