https://supertokens.com/
Join Discord
On the roles and permissions recipie, is there support for associating roles with another object? Fo...
p

pitchash

over 2 years ago
On the roles and permissions recipie, is there support for associating roles with another object? For example, on our system users belong to a number of teams, and have a role within that team so the same roles and permissions need to be duplicated for each team. Is there a way to support that within the recipe or would I have to build it entirely separately?
p
r
  • 2
  • 50
  • 14
Hi, did anyone manage to secure command line applications using SSO with Supertokens ?
a

Alex1s

over 2 years ago
Hi, did anyone manage to secure command line applications using SSO with Supertokens ?
a
r
  • 2
  • 14
  • 14
Hi all, Is there a way to create a test user who can login without otp
v

vikram_shadow

over 2 years ago
Hi all, Is there a way to create a test user who can login without otp
v
r
m
  • 3
  • 38
  • 14
Multiple supertokens instances in a single express application?
n

Nightlight

over 2 years ago
Is it possible to add multiple supertoken instances in a single express application? The documentation only mentions a single instance using supertokens.init(). I'm wanting to set up a multi-tenant type of architecture with a single webserver and multiple cores.
n
r
  • 2
  • 37
  • 14
Hi SuperTokens team, I am using Supertokens with NestJs. All my APIs are rate limited via https://do...
d

DanielAtStruggly

over 2 years ago
Hi SuperTokens team, I am using Supertokens with NestJs. All my APIs are rate limited via https://docs.nestjs.com/security/rate-limiting. Do you have any clue to let the SuperTokens middleware (for calls like e.g. /auth/signin) be aware of these rate-limiting settings?
d
r
+2
  • 4
  • 22
  • 14
Is there already a solution to using supertokens with tRPC? Thanks in andvance
c

codingtomato

over 2 years ago
Is there already a solution to using supertokens with tRPC? Thanks in andvance
c
r
t
  • 3
  • 5
  • 14
Hi! I've implemented the SuperTokens login to a vue3 project and it works beautifully, but am greete...
a

Adis

over 2 years ago
Hi! I've implemented the SuperTokens login to a vue3 project and it works beautifully, but am greeted with lint-like errors for every class across the app, and I've isolated it down to the
supertokens-auth-react
package that appears to be causing it. Any info or advice to clean these errors would be super helpful 😊 Additionally here is the inline error
Type '{ class: string; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
  Object literal may only specify known properties, and 'class' does not exist in type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.ts(2322)
index.d.ts(3176, 13): The expected type comes from property 'div' which is declared here on type 'IntrinsicElements'
a
r
p
  • 3
  • 5
  • 14
```# npm audit report qs 6.7.0 - 6.7.2 Severity: high qs vulnerable to Prototype Pollution - https...
c

chunkygoo.

almost 3 years ago
# npm audit report

qs  6.7.0 - 6.7.2
Severity: high
qs vulnerable to Prototype Pollution - https://github.com/advisories/GHSA-hrpp-h998-j3pp
fix available via `npm audit fix --force`
Will install supertokens-node@2.5.0, which is a breaking change
node_modules/qs
  body-parser  1.19.0
  Depends on vulnerable versions of qs
  node_modules/body-parser
    supertokens-node  >=3.0.0
    Depends on vulnerable versions of body-parser
    node_modules/supertokens-node

3 high severity vulnerabilities
c
r
  • 2
  • 7
  • 14
```java Error: Initialisation not done. Did you forget to call the SuperTokens.init function? ``` I ...
a

Aithusa

almost 3 years ago
java
Error: Initialisation not done. Did you forget to call the SuperTokens.init function?
I keep getting this error when going to my /testauth path but I did call the function before the route
import { verifySession } from "supertokens-node/recipe/session/framework/express/index.js";

router.get("/testauth", verifySession(), (req, res) => {
  if (req.session == null) {
    res.send({ error: "Must be signed in", code: "401" })
    return
  }
  let userId = req.session.getUserId();
});
a
r
  • 2
  • 15
  • 14
Hey, we have a problem with the client react on web. for some reason sometimes the refresh api from ...
d

Diesel

almost 3 years ago
Hey, we have a problem with the client react on web. for some reason sometimes the refresh api from the backend response is 502 in the network interface but in the backend we can see in the logs it returned 200. Was wondering what this 502 means maybe you know and could help us?
d
r
  • 2
  • 8
  • 14
Previous596061Next

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