• ?

    user

    2 years ago
    Ohhh
  • ?

    user

    2 years ago
    I added the key to the root of my server
  • r

    rp

    2 years ago
    I see. You should checkout this link if you haven't: https://github.com/supertokens/supertokens-docker-postgresql
  • r

    rp

    2 years ago
    It contains the instructions on how to run the docker image you are running
  • r

    rp

    2 years ago
    docker run \
        -p 3567:3567 \
        -e LICENSE_KEY_ID=yourLicenseKeyID \
        -d supertokens/supertokens-postgresql
  • r

    rp

    2 years ago
    the above should start the container with the in memory db.
  • ?

    user

    2 years ago
    Gotcha
  • Sun Walker

    Sun Walker

    2 years ago
    Why does
    COOKIE_SECURE=true
    make supertokens always throw 440 on docker?
  • Sun Walker

    Sun Walker

    2 years ago
    Ohh that's https
  • r

    rp

    2 years ago
    @User yup. COOKIE_SECURE=true means that the cookies will only be send to your nodejs APIs when you are using https. If not using https, no session cookies will go through resulting in session timeout