https://supertokens.com/
Join Discord
Hello! I'm wondering what the timeline is for the 2FA improvements that are listed on the product ro...
e

eliasbemlo

about 2 years ago
Hello! I'm wondering what the timeline is for the 2FA improvements that are listed on the product roadmap? I just started looking at 2FA and the docs have this big Caution banner: https://supertokens.com/docs/mfa/backend/second-factor
e
r
a
  • 3
  • 9
  • 47
Is there a way to self host the resources that the dashboard loads from 'cdn.jsdelivr.net'? No idea ...
a

adriansteffan

about 2 years ago
Is there a way to self host the resources that the dashboard loads from 'cdn.jsdelivr.net'? No idea why, but sometimes getting bundle.js and main.css from the cdn takes 5+ minutes, which makes development involving the dashboard difficult.
a
r
  • 2
  • 1
  • 47
How soon is "soon" ? and it seems like there's still a partial support for mongodb, to what extent c...
n

nano_ck

over 2 years ago
How soon is "soon" ? and it seems like there's still a partial support for mongodb, to what extent can I use it? Can I fully rely on it?
n
r
  • 2
  • 1
  • 47
I am having a new error now at iOS only, Supertokens throws this "Please provide a valid domain name...
r

robschilder

over 2 years ago
I am having a new error now at iOS only, Supertokens throws this "Please provide a valid domain name":
(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(r))?"http://"+i.host:"https://"+i.host:i.protocol+"//"+i.host}catch(e){}if(t.startsWith("/"))throw Error("Please provide a valid domain name");if(0===t.indexOf(".")&&(t=t.substr(1)),(-1!==t.indexOf(".")||t.startsWith("localhost"))&&!t.startsWith("http://")&&!t.startsWith("https://")){t="https://"+t;try{return new URL(t),e(t,!0)}catch(e){}}throw Error("Please provide a valid domain name")}(e)}},29996:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0
My app info:
const appInfo = {
  appName: 'Lokalist Business',
  apiDomain: GET_FRONTEND_URL(),
  websiteDomain: 'dashboard.lokalist.mobile.app',
  apiBasePath: '/api/auth',
  websiteBasePath: '/auth',
}
export const GET_FRONTEND_URL = () => {
  if (process.env.NEXT_PUBLIC_APP_STAGE === 'production' && process.env.NODE_ENV === 'production') {
    return 'https://dashboard.lokalist.nl'
  }
  if (process.env.NEXT_PUBLIC_APP_STAGE === 'development' && process.env.NODE_ENV === 'production') {
    return 'https://staging-dashboard.lokalist.nl'
  }

  return 'http://localhost:2001'
}
What could it be? The origin is
capacitor://localhost
r
r
n
  • 3
  • 10
  • 47
Hey guys, I want to use krakend.io API Gateway to enforce request level authorization. Krakend suppo...
e

execreate

about 3 years ago
Hey guys, I want to use krakend.io API Gateway to enforce request level authorization. Krakend supports fetching the token from cookies with
cookie_key
parameter (https://www.krakend.io/docs/authorization/jwt-validation/), so I guess it must possible to make it work with Supertokens http-only cookies. Theoretically, I can pass
jwk_url
of Supertokens (https://supertokens.com/docs/passwordless/common-customizations/sessions/with-jwt/get-jwks-and-issuer) to Krakend and set
cookie_key
to
sAccessToken
to make it work. But the jwks endpoint in Supertokens is not available unless I turn on jwt in session recipe, is that right? Because I cannot fetch the jwks endpoint with my current setup where I did not enable jwt in Supertokens.
e
r
  • 2
  • 5
  • 47
Hey guys, awesome project, love it I 've been debugging this for a few hours. What could be the rea...
m

muhajirdev

over 3 years ago
Hey guys, awesome project, love it I 've been debugging this for a few hours. What could be the reason that I don't have
sRefreshToken
cookie. What would be useful information I can provide?
m
r
  • 2
  • 40
  • 47
Hey team , I am using managed solution for supertoken and I received "No SuperTokens core available ...
t

Tushar

over 1 year ago
Hey team , I am using managed solution for supertoken and I received "No SuperTokens core available to query". I received this error around 12:54. Was supertoken down during that period . As currently I am not receiving that error and auth is working fine .
t
r
  • 2
  • 1
  • 46
I have both an electron app and a web app that do different things. When I sign in through the Elect...
b

big_bongster

almost 2 years 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
  • 46
When I'm selfhosting, I'm still limited by the paid features ? Like, max 3 dashboard users ?
s

sr.amorzinho

almost 2 years ago
When I'm selfhosting, I'm still limited by the paid features ? Like, max 3 dashboard users ?
s
r
  • 2
  • 2
  • 46
hi, when i create a user , the primary user flag is getting set as false , but i need it to bet set ...
a

ankitgupta7898

almost 2 years ago
hi, when i create a user , the primary user flag is getting set as false , but i need it to bet set as true by default to enable account linking from different social logins
a
r
  • 2
  • 11
  • 46
Previous222324Next

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