https://supertokens.com/
Join Discord
Hi guys, are there any endpoint that only verifies the email&password, returns user information but ...
q

qwerzl

about 2 years ago
Hi guys, are there any endpoint that only verifies the email&password, returns user information but doesn't create a new session token? I'm working on backend and want to write a function which needs to verify the user with email and password (accepted as query parameters) but not the Bearer header. Currently I'm doing it with
/auth/signin
, but it creates session tokens every time I run it. Is there a better solution?
q
n
  • 2
  • 11
  • 46
I'm trying to setup the dashboard. When I run the command to create a new user, it says "Not Found"
d

dhatguy

over 2 years ago
I'm trying to setup the dashboard. When I run the command to create a new user, it says "Not Found"
d
n
  • 2
  • 39
  • 46
Heyy, We have a nest.js application deployed on Railway. In the frontend we have next.js deployed ...
r

rayhan_rahat

over 2 years ago
Heyy, We have a nest.js application deployed on Railway. In the frontend we have next.js deployed on Vercel. In the backend CORS is set like this
app.enableCors({
    origin: [
      '*',
      'http://localhost:3001',
      'http://localhost:3000',
      'https://*.vercel.app',
      'https://*.vercel.app/*',
    ],
    allowedHeaders: ['content-type', ...supertokens.getAllCORSHeaders()],
    credentials: true,
  });
But for all the vercel preview builds, we can't test the app because of CORS issues. Any Idea how to fix it.??
r
r
  • 2
  • 16
  • 46
Hello, I am planning to use SuperTokens as a self-hosted auth service. I have successfully done the ...
f

fasterthanlight._

over 3 years ago
Hello, I am planning to use SuperTokens as a self-hosted auth service. I have successfully done the docker setup connected with the DB, but I am wondering for the back-end, I see there are libraries for Node, GoLang, and python, but is there a library for Rust? If not, how can I make Rust be able to communicate with SuperTokens?
f
r
  • 2
  • 9
  • 46
Hello, is there some sort of hook I can use within react comps to get access to the sessions or rath...
z

zoot7045

over 1 year ago
Hello, is there some sort of hook I can use within react comps to get access to the sessions or rather to validate the AUTH status: const root = ReactDOM.createRoot( document.getElementById('root') as HTMLElement ); root.render( ); maybe like a useAuth() similar to Auth0.
z
r
  • 2
  • 4
  • 45
<@498057949541826571> Hey guys, Do you have an SDK for Remix?
j

joe80813

over 1 year ago
@rp_st Hey guys, Do you have an SDK for Remix?
j
r
d
  • 3
  • 181
  • 45
Hello, i have a little problem with cors policy settings. Everytime i login in, i get errors below. ...
j

JustDante

about 3 years ago
Hello, i have a little problem with cors policy settings. Everytime i login in, i get errors below. Backend is written with expressjs, front end with react.
j
r
  • 2
  • 45
  • 45
Hi! I am using Angular, and I replaced the HttpClient with fetch. My understanding is that Session.i...
d

dleangen

about 3 years ago
Hi! I am using Angular, and I replaced the HttpClient with fetch. My understanding is that Session.init() is supposed to add interceptors to fetch to send session data along with each http request. Is my understanding correct? If it is, then how can I debug to figure out why session data is not being sent when I make a fetch request?
d
r
  • 2
  • 39
  • 45
hello everyone, I wanted to implement social login with custom UI, but i am getting below error auth...
a

anuj6163

over 1 year ago
hello everyone, I wanted to implement social login with custom UI, but i am getting below error auth.service.ts:24 GET http://localhost:8000/api/auth/authorisationurl?thirdPartyId=google&redirectURIOnProviderDashboard=http%3A%2F%2Flocalhost%3A8000%2Fauth%2Fcallback 400 (Bad Request) {"message":"the provider google could not be found in the configuration"} i am using fastapi for backend and angular for frontend fastapi this is my RecipeList RECIPE_LIST = [ session.init(), thirdpartyemailpassword.init( sign_up_feature = thirdpartyemailpassword.InputSignUpFeature( form_fields=[InputFormField(id='email'), InputFormField(id='password'), InputFormField(id='firstName'), InputFormField(id='lastName'), InputFormField(id='phone') ], )), thirdparty.init( sign_in_and_up_feature=thirdparty.SignInAndUpFeature(providers=[ ProviderInput( config=ProviderConfig( third_party_id="google", clients=[ ProviderClientConfig( client_id="1060725074195-kmeum4crr01uirfl2op9kd5acmi9jutn.apps.googleusercontent.com", client_secret="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", ), ], ) ) ]) ), dashboard.init() ]
a
r
r
  • 3
  • 13
  • 44
I have both an electron app and a web app that do different things. When I sign in through the Elect...
b

big_bongster

over 1 year ago
I have both an electron app and a web app that do different things. When I sign in through the Electron app, the Electron app starts showing the webapp. Where can I change this? So that Electron just goes to its own main renderer.tsx file. I found this: https://supertokens.com/docs/thirdpartypasswordless/pre-built-ui/auth-redirection But not sure how I can differentiate web/Electron.
b
r
d
  • 3
  • 49
  • 44
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