https://supertokens.com/ logo
Docs
Join the conversationJoin Discord
Channels
community
contributing
general
github-activity
info
introductions
new-releases
random
security
support-questions
welcome-0xdelusion
welcome-aj-ya
welcome-aleksandrc
welcome-alpinjs
welcome-amberlamps1
welcome-andrew-rodriguez
welcome-ankit-choudhary
welcome-anthony-stod-custodio
welcome-call-in
welcome-chwalbox
welcome-claybiokiller
welcome-co7e
welcome-cosmoecwsa
welcome-devdag
welcome-dinso
welcome-drebotelho
welcome-elio
welcome-ernest
welcome-foxbarrington
welcome-fromscratch
welcome-galto4ir
welcome-goetzum
welcome-hay-kot
welcome-himanshu-kukreja
welcome-hossambarakat
welcome-ichikawakazuto
welcome-jahir9991
welcome-jamesl
welcome-jerry123424
welcome-john-oliver
welcome-jonas-alexanderson
welcome-jxyz
welcome-kelvinwop
welcome-kraz
welcome-lancekey
welcome-leoo
welcome-lukeacollins
welcome-m-j-mon
welcome-malik-khoja
welcome-marco
welcome-mardadi
welcome-meshguy
welcome-metamorph
welcome-mike-tectu
welcome-mirzok
welcome-mozomig
welcome-naberyou66_
welcome-nacer
welcome-namratha
welcome-naveenkumar
welcome-nightlight
welcome-nischith
welcome-notankit
welcome-olawumi
welcome-pavan-kumar-reddy-n
welcome-pineappaul
welcome-poothebear
welcome-rick
welcome-samuel-qosenergy
welcome-samuelstroschein
welcome-shubhamgoel23
welcome-shubhamkaushal
welcome-sidebar
welcome-surajsli
welcome-suyash_
welcome-syntaxerror
welcome-tauno
welcome-tauno
welcome-tawnoz
welcome-teclali
welcome-tls
welcome-turbosepp
welcome-vikram_shadow
welcome-yann
Powered by Linen
general
  • b

    BeeMoe

    04/29/2022, 3:43 AM
    because it is a demo, does this mean i should get a real instance of it?
  • r

    rp

    04/29/2022, 3:43 AM
    Yes.
  • b

    BeeMoe

    04/29/2022, 3:43 AM
    okay
  • b

    BeeMoe

    04/29/2022, 3:44 AM
    is there a repo for it?
    r
    5 replies ยท 2 participants
  • h

    hauckre

    04/29/2022, 8:43 AM
    Hi, we have successfully implemented passwordless authentication in our application. Now we would like to disable the registration of new users, so that only the login works and not the registration. We have implemented the following in the Nestjs backend:
    Passwordless.init({
              override: {
                apis: (originalImplementation) => {
                  return {
                    ...originalImplementation,
                    createCodePOST: async function (input) {
                      const existingUser = await Passwordless.getUserByEmail({
                        email: (input as { email: string }).email,
                      });
                      if (!!existingUser) {
                        throw new ForbiddenException(
                          'Creating a new user is not allowed'
                        );
                      }
                      return await originalImplementation.createCodePOST(input);
                    },
                  };
                },
              },
              ...
    Now this works fine, but in the frontend I don't see the error message
    Creating a new user is not allowed
    but
    Something went wrong. Please try again
    . Now 2 questions: 1. is this the right way to deactivate the registration of new users in the passwordless authentication? 2. how can I override the default error message in the FE? Thanks a lot ๐Ÿ™‚
    r
    5 replies ยท 2 participants
  • k

    KitsuneKenshi

    04/29/2022, 4:39 PM
    Hey, I'm upgrading my app to nuxt3 and trying to figure out how to implement SuperTokens into their new routing system. I was trying to find a way of implementing express configuration into that but it didn't work out. Is it possible rn or do I have to wait for an update on SuperTokens?
    r
    71 replies ยท 2 participants
  • k

    KitsuneKenshi

    04/29/2022, 8:03 PM
    Hey I m upgrading my app to nuxt3 and
  • a

    an0th3rhuman

    04/30/2022, 2:45 AM
    Hi team, Do we have supertokens docs for flutter SDK?
    n
    w
    16 replies ยท 3 participants
  • n

    nkshah2

    04/30/2022, 3:48 AM
    Flutter docs
  • b

    BeeMoe

    05/01/2022, 7:53 AM
    i want to use supertokens_python with websockets in fastapi. is there a verify_session that works for a websocket route?
    r
    14 replies ยท 2 participants
  • r

    rp

    05/01/2022, 8:07 AM
    With web sockets
  • k

    kรฉvin millot

    05/02/2022, 9:51 AM
    hi team, i need help on integrating auth support on my nextjs app : - i want entire app to be locked by auth, but doing it so via _app makes an infinite loop - my app needs to be so that only an admin can create a new user - no thirdparties - i have trouble connecting a local instance of supertokens to my database, i only managed to make it work with the docker image (and my ip address changes so i have to run a new container everytime ๐Ÿ˜… ) i'm trying to follow the blog post on custom frontend, but it's for thirdparty logins, thank you very much for your help
    p
    r
    3 replies ยท 3 participants
  • p

    porcellus

    05/02/2022, 10:07 AM
    nextjs integration
  • f

    funk101

    05/02/2022, 7:08 PM
    I wonder if someone can answer some questions on using nextjs, mysql, vercel - self hosted
  • f

    funk101

    05/02/2022, 7:26 PM
    I'm deploying to vercel and using my own mysql db from another site. Where do I put the config.yaml file?
    p
    8 replies ยท 2 participants
  • r

    RzKf

    05/02/2022, 7:31 PM
    Hey all I'm trying to use supertokens as an alternative to auth0. I'm using a CRM called plutio.com I can't connect to supertoken without first configuring the redirect_uri.. anyone know where I can find the redirect_uri setting within supertoken's website?
    p
    r
    3 replies ยท 3 participants
  • p

    porcellus

    05/02/2022, 8:53 PM
    Hey all I m trying to use supertokens as
  • p

    porcellus

    05/02/2022, 8:56 PM
    I m deploying to vercel and using my own
  • n

    nazzrrg

    05/02/2022, 9:55 PM
    Hey, in which way does supertokens-website check if a session exists?
  • a

    aleksa97

    05/02/2022, 10:21 PM
    Hello, I need help, I am trying to make a route after sign in/up to another page, im using code from the website but i dosent work. I am using next.js and i put code in the _app file. And change the route form code snipped to my page "/profile" but i still get "/" route? I dont have any errors or anything else, I dont know what I am doing wrong. ๐Ÿ˜ฆ
    p
    1 reply ยท 2 participants
  • p

    porcellus

    05/02/2022, 10:24 PM
    it checks the cookies ๐Ÿ™‚ I can link the code if you want all the details.
  • n

    nazzrrg

    05/02/2022, 10:25 PM
    Fair, but it fails on me with the cookies
    p
    49 replies ยท 2 participants
  • m

    Mr Chill

    05/03/2022, 7:16 AM
    Hey, I need from the users when they last logged in. About getUser i get only "timeJoined". Is this stored in the database of the core at all or do I have to store it myself via "updateUserMetadata"?
    n
    r
    8 replies ยท 3 participants
  • n

    nkshah2

    05/03/2022, 8:22 AM
    User Last Logged In
  • b

    BeeMoe

    05/04/2022, 4:11 AM
    i found that you can use react components inside of svelte. think that would help for implementing supertokens frontend with svelte?
    r
    17 replies ยท 2 participants
  • r

    rp

    05/04/2022, 5:55 AM
    react with svelta
  • h

    hauckre

    05/04/2022, 10:52 AM
    Hi, I had asked some time ago how I can implement Supertokens in Ionic. I had tried to take the JWT approach, but was advised against it for security reasons. But now I have the problem that Ionic deletes the cookies after a restart. Is it possible to save the session securely on mobile devices in another way? Thank you very much!
    r
    5 replies ยท 2 participants
  • d

    diego.s

    05/04/2022, 8:06 PM
    hello everyone, iยดm trying to overwrite the signout method, do you have any idea ?, i tried inside session init but does not work, using express js
    r
    2 replies ยท 2 participants
  • r

    rp

    05/05/2022, 3:54 AM
    Overriding sign out
  • a

    aminoxix ๐Ÿ‡ฎ๐Ÿ‡ณ

    05/05/2022, 7:46 AM
    @rp or any one from admin panel: Pl turn off message permission in #826718243489316869 channel.
Powered by Linen
Title
a

aminoxix ๐Ÿ‡ฎ๐Ÿ‡ณ

05/05/2022, 7:46 AM
@rp or any one from admin panel: Pl turn off message permission in #826718243489316869 channel.
View count: 6