https://supertokens.com/
Join Discord
`/bin/sh: 1: java: not found` ubuntu how to install java and which version ? iam now working node t...
p

productdevbook

about 2 years ago
/bin/sh: 1: java: not found
ubuntu how to install java and which version ? iam now working node test running but this problem cc: @rp_st
p
  • 1
  • 3
  • 16
Hi, I've been trying to get the first and last name from the google social login to sync over to su...
a

ahlstrand.

over 2 years ago
Hi, I've been trying to get the first and last name from the google social login to sync over to supertoken. Is there some kind of configuration needed or how can I solve it? Peeking at the code it looks like it fetches the profile from google, but it only seems to sync the email? https://github.com/supertokens/supertokens-node/blob/master/lib/ts/recipe/thirdparty/api/implementation.ts#L142 Thanks!
a
r
j
  • 3
  • 24
  • 16
I'm using Astro with Solid and a custom Python backend. Is there a guide to show the simplest way to...
j

Julio

over 2 years ago
I'm using Astro with Solid and a custom Python backend. Is there a guide to show the simplest way to implement email based auth? Thanks.
j
r
  • 2
  • 6
  • 16
Hi everyone, nice to meet you all. I am trying to get the User Management Dashboard working via Do...
j

javierwong

over 2 years ago
Hi everyone, nice to meet you all. I am trying to get the User Management Dashboard working via Docker. I can get the UI running and I get a screen that requires me to key in the API Key but when viewing the User Management screen it says Server Error: Failed to load user list. I check the browsers console and it tells me that there is an error on loading some content "http://:15000/auth/dashboard/api/users/count". And when I browse the link it shows Unauthorised access. Does anyone have any idea why this is the case?
j
r
n
  • 3
  • 6
  • 16
Mkay. This kinda relates to the `Issue` I threw up on GitHub in `supertokens-node`. But this questio...
i

ITEnthusiasm

over 2 years ago
Mkay. This kinda relates to the
Issue
I threw up on GitHub in
supertokens-node
. But this question is more specific. Is there an existing way to replicate the
/signin
,
/signup
,
/session/refresh
route middleware by hand? (And are those the only middlewares created from
app.use(middlewares())
?)
(Background in Thread)
i
r
  • 2
  • 347
  • 16
Hi guys! I've come across a pretty strange behavior. I'm using the SDK in a react native app. In o...
a

Axel

over 2 years ago
Hi guys! I've come across a pretty strange behavior. I'm using the SDK in a react native app. In order to maintain the session state i routinely check "SuperTokens.doesSessionExist()" and with that answer go forward with an authorized/unauthorized user. What i have discovered is that when the session expires, the method "doesSessionExist", still resolves true.
a
r
  • 2
  • 59
  • 16
I'm having some trouble routing the user from the signup form to the `passwordless` phone number inp...
b

Bailey

over 2 years ago
I'm having some trouble routing the user from the signup form to the
passwordless
phone number input after sign up. I'm overriding emailpassword's
signUpPOST
function by calling: -
signUp
(/recipe/emailpassword) -
createNewSession
(/recipe/session)
signUpPOST: async function (input) {
    let signup = await signUp(
        email,
        password,
        input.userContext
    );

    if (signup.status === 'OK') {
        // Create database user
        ...

        // Create session
        return createNewSession(
            input.options.res,
            signup.user.id,
            undefined,
            undefined,
            input.userContext
        );
    }
}
I'm unsure if the
input
variables I'm passing here are correct, or if there is another recipe function I should be calling. The session and user seem to be created properly, but the frontend requires a manual refresh in order to reach the
passwordless
Second factor auth (phone number input page). Without a manual refresh, the frontend says to sign in instead since the email is already in use.
b
r
  • 2
  • 14
  • 16
I tried setting some data using merge access token payload on the backend and then useSessionContxt ...
c

chunkygoo.

over 2 years ago
I tried setting some data using merge access token payload on the backend and then useSessionContxt to get the payload on the frontend. I am able to set the data properly on the backend but when I try to get it on the frontend it is always an empty object {}. Any idea why?
c
r
  • 2
  • 61
  • 16
This may be a bit of a basic question, but in some cases the supertokens instance is not found even ...
c

CaptainPhoton

almost 3 years ago
This may be a bit of a basic question, but in some cases the supertokens instance is not found even though I initialize Supertokens as the first thing in the app. Now I am trying to get the user count in a request handler, and it is saying that Supertokens is not initialized :/
await supertokens.getUserCount()
c
r
  • 2
  • 37
  • 16
`UserContext` vs `UserMetadata` which one to choose for user profile data such as timezone, address,...
s

sharma8471

almost 3 years ago
UserContext
vs
UserMetadata
which one to choose for user profile data such as timezone, address, etc.?
s
n
  • 2
  • 30
  • 16
Previous272829Next

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