• ?

    user

    1 year ago
    Hey, supertokens looks awesome! Congrats. Quick question; Would supertokens be a good tool to use for SSO?
  • r

    rp

    1 year ago
    Hey! Thanks. We do not support SSO at the moment
  • r

    rp

    1 year ago
    It's going to be a while until that is supported, since we want to get it right (from an ease of use point of view)
  • ?

    user

    1 year ago
    Ok, i will keep an eye out!
  • r

    rp

    1 year ago
    👍
  • ?

    user

    1 year ago
    Hey so i'm trying to piece together nextjs + faunadb. i followed the nextjs example and got that working, then removed the EmailPassword.init() since i'm only intending on only using the session management. Im stuck on creating the new session. i see i need to call await Session.createNewSession(res, userId). I'm not sure where to call that. ive tried in the default export and getting a SessionError "message: 'Error while setting header with key: front-token and value:..."
  • r

    rp

    1 year ago
    - You need to call that in your login API. After you have successfully authenticated the user (stored in faunadb). - Please make sure that you have imported from
    supertokens-node/recipe/session/faunadb
  • r

    rp

    1 year ago
    Can you also please provide the full stack trace?
  • r

    rp

    1 year ago
    error stack trace i mean*
  • r

    rp

    1 year ago