https://supertokens.com/
Join Discord
Hello everyone I have been trying to find a solution for many days, but without success. Please help...
d

denism1104

over 2 years ago
Hello everyone I have been trying to find a solution for many days, but without success. Please help me fix this error: ( ERROR [ExceptionHandler] Please make sure that the apiDomain and websiteDomain have correct values)
d
r
  • 2
  • 18
  • 32
here ```http://localhost:3000/auth?redirectToPath=``` I'm getting this error -> ```Unhandled Runt...
f

funk101

over 2 years ago
here
http://localhost:3000/auth?redirectToPath=
I'm getting this error ->
Unhandled Runtime Error
TypeError: style.toLowerCase is not a function
This after upgrading my supertokens-auth-react, supertokens-node, and supertokens-web-js
f
a
  • 2
  • 2
  • 32
Hi, I have a simple web application and I am trying to perform login and get session information lik...
a

aarron28_

over 2 years ago
Hi, I have a simple web application and I am trying to perform login and get session information like getting the access token When I try to run the code below, it show error which is no instance of session found. Make sure to call session.init method. How should I be logging in and getting the session object? session_provider :async() => { supertokens.init({ appInfo: { apiDomain: "https://aarron28.com", apiBasePath: "/auth", appName: "Test App" }, recipeList: [ supertokensSession.init({ tokenTransferMethod: "header" // or "cookie" }), supertokensSession.init(), supertokensEmailPassword.init(), ], }); var aaa = await supertokensEmailPassword.signIn({ "formFields": [{ "id": "email", "value": "lucas333" }, { "id": "password", "value": "pas123" }] }); supertokensSession.getAccessToken(); return aaa; }
a
r
n
  • 3
  • 38
  • 32
Hi, i am using verify middleware in route and i have also my own middleware which i used to to set s...
c

cpalta8102

over 3 years ago
Hi, i am using verify middleware in route and i have also my own middleware which i used to to set some data into session . in my own middleware i used next() function but after using verify middleware next function it show me a error "TypeError: Cannot read property 'secure' of undefined"
c
r
  • 2
  • 29
  • 32
Set up issue. With dashboard curling. Why do I either get this error. This is the curl - curl --loca...
k

kiesker

over 1 year ago
Set up issue. With dashboard curling. Why do I either get this error. This is the curl - curl --location --request POST 'url' \--header 'rid: dashboard' \--header 'api-key: apikey' \--header 'Content-Type: application/json' \--data-raw '{"email": "example@gmail.com","password": "pass"}'
k
r
  • 2
  • 11
  • 31
Hello. If I create a instance of axios, supertoken is not detecting session cookies. I am using supe...
s

soumya0373

over 1 year ago
Hello. If I create a instance of axios, supertoken is not detecting session cookies. I am using supertokens-web-js in nuxt.js 2 // Here is my code plugins/axios-cache-setup.js
import axios from 'axios'
import { setupCache } from 'axios-cache-interceptor/dev'

export default function ({ $config }, inject) {
  // Create axios instance
  const axiosInstance = axios.create({
    baseURL: $config.baseURL, 
  })
   // Set up caching
  // Set axios instance to Nuxt context
  const axiosWithCache = setupCache(axiosInstance, {
    methods: ['get', 'post'],
    debug: console.log,
  })

  inject('axiosCache', axiosWithCache)
}
s
r
  • 2
  • 14
  • 31
Hey <@498057949541826571> I've had a case that our administrator deactivate user on our dashboard. T...
u

[CATs] ya ong | [GUnS] bakins

over 1 year ago
Hey @rp_st I've had a case that our administrator deactivate user on our dashboard. The expectation is to kick the customer out of the app. To do this, we need to invalidate the access token that user used by that time. After we implement access token blacklisting, we can't force sign out customer as we don't have user token when deactivating user is performed by administrator. Question, is removing sessions for user would handle those case ^? Or is there any other mechanism that Supertoken provide to handle that?
u
r
  • 2
  • 22
  • 31
<@498057949541826571> I am trying to add one-tap-google apart for default social login, but I need...
s

shashank0959

over 1 year ago
@rp_st I am trying to add one-tap-google apart for default social login, but I needs to modify the pop-up, can you help here,
s
r
s
  • 3
  • 44
  • 31
How to override default styling that has !important on it in the prebuilt UI? The Google Icon has an...
z

zhef.

almost 2 years ago
How to override default styling that has !important on it in the prebuilt UI? The Google Icon has an extra margin left for some reason
z
r
p
  • 3
  • 12
  • 31
Getting invalid api when curling to create a dashboard user with supertokens server -> curl --locati...
k

kiesker

over 2 years ago
Getting invalid api when curling to create a dashboard user with supertokens server -> curl --location --request POST 'Server link' \ --header 'rid: dashboard' \ --header 'api-key: ' \ --header 'Content-Type: application/json' \ --data-raw '{"email": "","password": ""}'
k
j
  • 2
  • 9
  • 31
Previous343536Next

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