https://supertokens.com/
Join Discord
Hi, is there any example of how can I use Facebook provider in react native ?
b

binouse

about 3 years ago
Hi, is there any example of how can I use Facebook provider in react native ?
b
r
n
  • 3
  • 13
  • 28
I just setup Supertokens and got it linked with my db and I got the init command added to my api. Do...
s

silentassassin22

over 3 years ago
I just setup Supertokens and got it linked with my db and I got the init command added to my api. Do I have to create all the routes for my API or is there something i'm missing?
s
r
  • 2
  • 125
  • 28
Guest Author Program…
m

mizzle

about 1 year ago
Hi @Koha sent you a dm regarding this
m
k
  • 2
  • 3
  • 27
I discovered today that Playwright might give devs access to the browser's cookies. (Would have to c...
i

ITEnthusiasm

about 1 year ago
I discovered today that Playwright might give devs access to the browser's cookies. (Would have to confirm on my own.) If they do, it could be a great tool for testing example repositories since it also enables devs to disable JavaScript in the browser during end to end testing. If a set of standard test cases could be created, they could be run against any example repo to make sure everything still works as expected during repo NPM package upgrades, etc. Hoping to look into this sometime within the next 4 months. But sounds pretty exciting (since it would take away a lot of manual work).
i
  • 1
  • 2
  • 27
hi <@498057949541826571> I test endpoints via postman. For this, I need to refresh tokens at regular...
c

ceylan_89116

over 1 year ago
hi @rp_st I test endpoints via postman. For this, I need to refresh tokens at regular intervals. Is there a token for postman that does not require refresh?
c
r
  • 2
  • 6
  • 27
How many parallel logins can a supertokens core and supertokens node can handle in a single core ser...
v

vigneshkumar5238

almost 2 years ago
How many parallel logins can a supertokens core and supertokens node can handle in a single core server?
v
r
  • 2
  • 4
  • 27
How can I get the user email from its session on a backend? E.g. the email that the user used for ei...
r

rip21

over 2 years ago
How can I get the user email from its session on a backend? E.g. the email that the user used for either passwordless, login/password or social login.
r
r
d
  • 3
  • 6
  • 27
Hey, I found a bug in the fetch interceptor in supertokens-website (lib/ts/recipeImplementation.ts) ...
u

urbansson

over 2 years ago
Hey, I found a bug in the fetch interceptor in supertokens-website (lib/ts/recipeImplementation.ts) 172:91 When we make our fetch calls we pass a URL object into it as the typescript definitions suggests. Doing that we get the following error:
js
TypeError: url.clone is not a function
and that makes sense as you do the following
js
typeof url === "string" ? url : (url as Request).clone()
the
URL
object does not have the clone methed defined. We currently solve it be calling toString before passing it to fetch, but breaking the fetch api might make other thirdparty dependencies break. You can try it yourself by doing something like this:
js
fetch(new URL(("https://localhost:3000/index.html"))).then(() => {console.log("fetched")}).catch(err => console.log("err", err))
u
r
p
  • 3
  • 4
  • 27
I'm getting an error saying ""Are you sending too many / too few formFields?" I'm following the exam...
m

miguelstevensbe

over 2 years ago
I'm getting an error saying ""Are you sending too many / too few formFields?" I'm following the example from the docs, this is my frontend and backend code, am I missing something? ( I checked, the values are populated with data when sending the request to ST) frontend code
const response = await EmailPassword.signUp({
        formFields: [
            {
                id: "invite",
                value: invite.value.id
            },
            {
                id: "password",
                value: password,
            },
            {
                id: 'first_name',
                value: firstname
            },
            {
                id: 'last_name',
                value: lastname
            },
        ]
    });
And the backend
EmailPassword.init({
                signUpFeature: {
                    formFields: [
                        {id: "invite"},
                        {id: "password"},
                        {id: "first_name"},
                        {id: "last_name"},
                    ]
                },
                override: {
                    apis: (originalImplementation) => {
                        return {
                            ...originalImplementation,
                            signUpPOST: async function (input) {
                                if (originalImplementation.signUpPOST === undefined) {
                                    throw Error("Should never come here");
                                }

                                let response = await originalImplementation.signUpPOST(input);
                                console.log(input)


                                return response
                            }
                        }
                    }
                }
            }),
m
r
  • 2
  • 5
  • 27
Hi, there. I'm trying to implement Sign In with Google using the following instruction https://super...
m

majskiy

over 2 years ago
Hi, there. I'm trying to implement Sign In with Google using the following instruction https://supertokens.com/docs/thirdpartyemailpassword/custom-ui/thirdparty-login. But when I call
thirdPartySignInAndUp
after redirect it throws me error `Error: No instance of ThirdPartyEmailPassword found. Make sure to call the ThirdPartyEmailPassword.init method. `But, actually, it was successfully initialised as I was able to call getAuthorisationURLWithQueryParamsAndSetState to generate auth url. Any ideas what I'm doing wrong?
m
  • 1
  • 1
  • 27
Previous424344Next

SuperTokens.com

SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).

Powered by