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
support-questions
  • r

    rp

    06/08/2022, 11:13 AM
    (see thread)
  • n

    Nejitha Sunny

    06/08/2022, 11:14 AM
    ok
  • n

    Nejitha Sunny

    06/08/2022, 11:18 AM
    When I trigger the above command its showing this message.Supertoken-core nd plugin interface is inside supertoken root folder
  • r

    rp

    06/08/2022, 11:29 AM
    please use the thread @Nejitha Sunny
  • p

    PitchAsh

    06/08/2022, 4:19 PM
    Hi, I am trying to implement a flow where we have 2 apps. One app does not use supper tokens, but the other does. Both are on the same domain. The app that does use supertokens uses the passwordless recipe and all@works fine. The second app uses its own login but has an endpoint that calls create session and returns the cookies to be used in the second app. Everything works fine in postman.. the cookies are returned and the api calls to the second app work. When we try this from the browser it does not work as the cookies do not get stored.
    r
    80 replies · 2 participants
  • i

    IaS1506

    06/08/2022, 4:36 PM
    @rp , Hi, I have another one issue in thirdpartyemailpassword. I post endpoint /user/email/verify/token and then get an error of supertokens core: "code":422,"message":"SuperTokens core threw an error for a GET request to path: '/recipe/user' with status code: 400 and message: Please provide one of userId or email\n". I have 9.2.3 version of SDK, so what is wrong with this recipe? P.s. In my variant with thirdpartyemailpassword there are Accept header with application/json in request and content type application/json in response and it throws the error. If I replace thirdpartyemailpassword to email password - headers are the same, but it works. So the problems inside of API, I suppose.
  • r

    rp

    06/08/2022, 4:38 PM
    cookies not stored on browser
  • r

    rp

    06/08/2022, 4:40 PM
    (let's talk on our thread @IaS1506 )
  • c

    CaptainPhoton

    06/08/2022, 5:34 PM
    I'm running into a weird issue where it shouts "Initialisation not done. Did you forget to call the SuperTokens.init function?" even though I have done the initialisation and I have successfully fetched user data from Supertokens prior to the error, and successfully afterwards
    r
    21 replies · 2 participants
  • f

    funk101

    06/09/2022, 6:06 AM
    question about updateAccessTokenPayload()
    r
    63 replies · 2 participants
  • i

    Impecorator

    06/09/2022, 9:37 AM
    hi, i have a problem with Supertokens. i don’t understand how to set cookies when backend is on https and frontend is on http. when both services are on https or http everything works fine. i have tried to set on backend cookieSecure: false and cookieSameSite: 'none' but i had this error: "Since your API and website domain are different, for sessions to work, please use https on your apiDomain and dont set cookieSecure to false.". can you help me understand how it works?
    r
    14 replies · 2 participants
  • a

    avinashkumar

    06/09/2022, 12:14 PM
    Hi @rp while building from source , i went through all steps in contributing.md file i am using windows 10 , installed wsl2 ( ubuntu ) , installed open jdk15.0.1 in ubuntu , set the JAVA_HOME and PATH , cloned the "supertoken-root" , updated modules.txt with git username then run loadModules too . Upto now it is fine , now i am using STS IDE in windows and while importing "spertoken-root" as a "gradle project" i am facing one issue that is added below .
    r
    6 replies · 2 participants
  • a

    avinashkumar

    06/09/2022, 12:14 PM
    message has been deleted
  • r

    rp

    06/09/2022, 12:27 PM
    Building from source - gradle issue
  • s

    shorthair_[]

    06/09/2022, 12:28 PM
    hey guys
  • s

    shorthair_[]

    06/09/2022, 12:28 PM
    need help with posting the user data with react native
  • s

    shorthair_[]

    06/09/2022, 12:29 PM
    so far this is what ive done
  • s

    shorthair_[]

    06/09/2022, 12:30 PM
    function loginHandler(){
          if (email == '' || password == ''){
          console.log('Cant upload without variables')
          } else {
            fetch("http://127.0.0.1:8000/auth/signin", {
              method: 'POST',
              headers:{"Content-Type":"application/json"},
              body:JSON.stringify( {
                "formFields" : [
                  {
                    "id" : "email",
                    "value" : {email}
                  },
                  {
                    "id": "password",
                    "value": {password}
                  }
                ]
              }
              
    
            )})
            .then(res => {
              if (res.ok){
                console.log('Signed In!')
              } else {
                console.log("Couldn't Sign In :(")
              }
              
            }).catch(console.log('Something is off'));
            console.log('logging in')
            console.log(email)
            console.log(password)
    r
    n
    12 replies · 3 participants
  • s

    shorthair_[]

    06/09/2022, 12:30 PM
    my machine tells me that i probably have an unhandled promise rejection
  • e

    EdwinN1337

    06/09/2022, 12:45 PM
    Hi Guys, We got 1 hasura instance and 1 supertoken instance but 2 apps with 2 endpoints
    /api/auth
    . We have to provide a JWKS endpoint. Is it oké to provide just 1 endpoint?
    r
    5 replies · 2 participants
  • e

    EdwinN1337

    06/09/2022, 2:06 PM
    Anyone, by chance, have implemented supertokens with capacitor? We're struggling to get it working
  • r

    rp

    06/09/2022, 2:09 PM
    (tagged you in a thread related to capacitor integration)
  • a

    Artyom

    06/09/2022, 4:46 PM
    Can I wrap my whole React app in
    <ThirdPartyEmailPasswordAuth> ... </ThirdPartyEmailPasswordAuth>
    while still requiring auth in some place and not others?
    r
    12 replies · 2 participants
  • p

    PitchAsh

    06/09/2022, 4:56 PM
    Is there a way to add some additonal params into the passwordless signiniup endpoint and then include those in the magic link url that gets sent back to the user?
    r
    23 replies · 2 participants
  • w

    wdjzr

    06/09/2022, 5:27 PM
    I did implement it, with using the server.url option tho, so the app is basically a webview that fetches my app from a live url
  • w

    wdjzr

    06/09/2022, 5:27 PM
    It works well with android, did not try iOS yet
  • w

    wdjzr

    06/09/2022, 5:28 PM
    I just needed the capacitor to be able to use the Push Notifications
  • w

    wdjzr

    06/09/2022, 5:29 PM
    You can go down the same route if you dont plan on supporting offline use for the app
  • w

    wdjzr

    06/09/2022, 5:30 PM
    And being able to push/deploy live updates without requiring users to update the app is also a cool sideeffect
  • e

    EdwinN1337

    06/09/2022, 6:06 PM
    ah thanks, we already got our app in production for a whole for iOS / android so can't change the server url 😦
Powered by Linen
Title
e

EdwinN1337

06/09/2022, 6:06 PM
ah thanks, we already got our app in production for a whole for iOS / android so can't change the server url 😦
View count: 1