https://supertokens.com/
Join Discord
Is there any support for next.js `middleware.ts` file.?? I want to verify the session and redirect ...
r

rayhan_rahat

over 2 years ago
Is there any support for next.js
middleware.ts
file.?? I want to verify the session and redirect users based on that. Note: I am only using Frontend Part of Next.js Guide, For Backend we have a Nest.js Backend
r
r
  • 2
  • 9
  • 12
On Clearing Cookies or Using incognito Mode in React Native Webview Android, SuperToken Session is e...
m

malikkhoja

over 2 years ago
On Clearing Cookies or Using incognito Mode in React Native Webview Android, SuperToken Session is expired. Can anyone help me here?
m
r
n
  • 3
  • 53
  • 12
Hello again I would like to translate the emails that supertokens sends to our customers. I understa...
r

romixch

over 2 years ago
Hello again I would like to translate the emails that supertokens sends to our customers. I understand that I can change the content as described here: https://supertokens.com/docs/emailpassword/email-delivery/smtp/change-email-content But how do I know into which language I have to translate? I would be happy to get the language that users saw as they register in the browser.
r
j
p
  • 3
  • 21
  • 12
Hello, I receive the following error in the browser (MS Edge on Windows 11): `Uncaught DOMException:...
r

RxThorn

almost 3 years ago
Hello, I receive the following error in the browser (MS Edge on Windows 11):
Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
The above error occurred in the <SessionAuth> component
. Has this happened to anyone before? I just created two projects with
npx create-supertokens-app@latest
, the first one React+NestJS and the other Vue+NestJS, always the same error
r
r
  • 2
  • 13
  • 12
Hello guys. I am getting the following error for some of recipe endpoint: ```ERROR: relation "userid...
v

vladmit

almost 3 years ago
Hello guys. I am getting the following error for some of recipe endpoint:
ERROR: relation "userid_mapping" does not exist
Any idea why?
v
n
r
  • 3
  • 14
  • 12
Hey I'm trying to redirect the user to different url after logging in, its working fine with otp lo...
s

shri4953

about 3 years ago
Hey I'm trying to redirect the user to different url after logging in, its working fine with otp login (to do this i am passing different url in redirectToPath=someUrl), but google login success does not redirect (redirectToPath becomes empty string). following this guide https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/redirecting-post-login i couldn't find something similar with the Session recipe which i would like to support as well
s
r
  • 2
  • 2
  • 12
Hello I'm trying to implement a custom SMTP configuration for passwordless auth as specified in thi...
d

Deleted User

about 3 years ago
Hello I'm trying to implement a custom SMTP configuration for passwordless auth as specified in this guide https://supertokens.com/docs/passwordless/email-delivery/smtp/configure-smtp . The problem though is that the init method from passwordless does not expect any parameter such as
emailDelivery
as specified in the above-linked article. Could you please help take a look at this? Type - Supertoken NodeJS Version - 11.3.0
d
r
  • 2
  • 7
  • 12
I noticed that the Auth0 external id (`sub`) for the google provider was `google-oauth2|<ID>`. Now ...
n

n1ru4l

about 3 years ago
I noticed that the Auth0 external id (
sub
) for the google provider was
google-oauth2|<ID>
. Now with supertokens I am building this within
createNewSession
, for mapping the accounts.
const externalUserId = user.thirdParty ? `${user.thirdParty.id}|${user.thirdParty.userId}` : null;
I noticed that
user.thirdParty.id
, here is
google
and not
google-oauth2
. Is it safe for me to simply replace the
google|
part with
google-oauth2
, is the
<ID>
part of the auth0 sub stable?
n
r
  • 2
  • 6
  • 12
Hi, I use localhost for local development at front and remote server at backend api. So when Im tryi...
i

IaS1506

about 3 years ago
Hi, I use localhost for local development at front and remote server at backend api. So when Im trying to connect that way by social, emailpassword or passwordless I get 401 error for endpoints. I think thats because localhost has another cookies domain and server cant get shared them. And the question is: how can i effectively connect from localhost at front to server at back to organise my local development and to make everything work fine?
i
r
  • 2
  • 21
  • 12
hi! it's me again 😅 i set up language translations with `next-i18next` library via `translationFun...
y

yzs

about 3 years ago
hi! it's me again 😅 i set up language translations with
next-i18next
library via
translationFunc
like in your guides can i make arbitrary strings from custom additional fields in register page (like labels/placeholders - firstname, lastname) go through this
translateFunc
also?
y
r
p
  • 3
  • 27
  • 12
Previous666768Next

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