https://supertokens.com/
Join Discord
How about storing user tokens in a redis cache db?
λ

Λ C Ξ L X R D

about 3 years ago
How about storing user tokens in a redis cache db?
λ
r
  • 2
  • 2
  • 32
I am running supertoken using self-hosted core. I want to run both my auth server (nestjs) and auth ...
r

rangrik

about 2 years ago
I am running supertoken using self-hosted core. I want to run both my auth server (nestjs) and auth core using docker-compose. The issue is I am not able to pass the connectionURI of the core to the server. my authcore service is named -
authCore
so I tried passing
authCore:3567
but this doesn't work I see following error -
Error: Please provide a valid domain name
    at normaliseURLDomainOrThrowError (/app/node_modules/supertokens-node/lib/build/normalisedURLDo

    at new NormalisedURLDomain (/app/node_modules/supertokens-node/lib/build/normalisedURLDomain.js

    at /app/node_modules/supertokens-node/lib/build/supertokens.js:350:39
    at Array.map (<anonymous>)
    at new SuperTokens (/app/node_modules/supertokens-node/lib/build/supertokens.js:348:24)
    at Function.init (/app/node_modules/supertokens-node/lib/build/supertokens.js:372:36)
    at new SupertokensService (/app/src/auth/supertokens/supertokens.service.ts:15:17)
    at Injector.instantiateClass (/app/node_modules/@nestjs/core/injector/injector.js:358:19)
    at callback (/app/node_modules/@nestjs/core/injector/injector.js:59:45)
    at Injector.resolveConstructorParams (/app/node_modules/@nestjs/core/injector/injector.js:139:2
r
r
  • 2
  • 10
  • 31
Any guide to setting up nginx reverse proxy for the backend server "not core"? I keep on getting bom...
s

sdekna

over 2 years ago
Any guide to setting up nginx reverse proxy for the backend server "not core"? I keep on getting bombarded by cors errors
s
r
  • 2
  • 17
  • 31
hello , i am a supertoken user . i have integrated supertokens with my application. And using sessio...
j

jj_9475

almost 3 years ago
hello , i am a supertoken user . i have integrated supertokens with my application. And using session context. i need to individually test react components for my unit test. but i cant seem to mock useSessionContext. could you please help me.
j
r
  • 2
  • 3
  • 31
Has anyone used supertokens with Vue and SpringBoot?
p

pfs1337

over 3 years ago
Has anyone used supertokens with Vue and SpringBoot?
p
r
  • 2
  • 5
  • 31
I am Building a School management web app. My question is - Can i use one supertoken core for follo...
d

Dheeraj

over 1 year ago
I am Building a School management web app. My question is - Can i use one supertoken core for following things 1. Managing Normal User Login (already using third-party password less login) 2. Staff Role Based Login eg. Teachers, Developers, Support team etc. 3. Student login If yes can anyone share docs for the same.
d
r
s
  • 3
  • 102
  • 30
I got 405 when signin/up. I am using NextJS and passwordless login. (Phone) I have `pages/api/auth...
y

yujonglee

almost 2 years ago
I got 405 when signin/up. I am using NextJS and passwordless login. (Phone) I have
pages/api/auth/[[...path]].tsx
and it's content is same as doc. This is my appInfo
export const appInfo = {
  appName: NAME,
  apiDomain: DOMAIN,
  websiteDomain: DOMAIN,
  apiBasePath: "/api/auth",
  websiteBasePath: "/auth"
}
I can see UI in
<DOMAIN>/auth
, but when I provide phone number and click continue, I got this.
[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (refresh, line 0) <DOMAIN>/api/auth/session/refresh

[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (refresh, line 0)
<DOMAIN>/api/auth/session/refresh

[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (refresh, line 0)
<DOMAIN>/api/auth/session/refresh

[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (code, line 0)
<DOMAIN>/api/auth/signinup/code
y
r
  • 2
  • 17
  • 30
Hey everyone. Is there a page in documentation explaining how exactly ST uses those `front-token` a...
n

nicktgn

about 2 years ago
Hey everyone. Is there a page in documentation explaining how exactly ST uses those
front-token
and
access-token
, which it returns in the header after sign-in ? Not quite sure what this
front-token
is for. Thanks.
n
r
  • 2
  • 1
  • 30
Hi, does supertokens support mechanism for device recognition? example use case: detect when an user...
c

czalez17

about 2 years ago
Hi, does supertokens support mechanism for device recognition? example use case: detect when an user login happens from a different device. If it does, can you please point me to documentation about it?
c
r
  • 2
  • 1
  • 30
Good morning! I have a question about session refresh and access token. We are seeing an issue tha...
a

Axel

about 2 years ago
Good morning! I have a question about session refresh and access token. We are seeing an issue that hasn't appeared before. And it happens when we change enviroment from localhost to a hosted backend cluster. For some reason i get the error "unauthorized" specifically when trying to call supertokens.attemptrefreshsession() in my react native client. But i'm able to get a user id from supertokens.getUser()
a
r
n
  • 3
  • 45
  • 30
Previous161718Next

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