• eeshaan

    eeshaan

    5 months ago
    hi there. looking into SuperTokens as an Auth0 replacement to create an OAuth-type flow which will be used as a developer API for our application. for example, any user on the site would be able to create a new "app," and we would issue a client ID and secret. here's what the current flow looks like:
  • eeshaan

    eeshaan

    5 months ago
    the issue is, i guess the way SuperTokens issues JWTs is explicitly session-based. i can't simply send a generic request to the "/getJWT" endpoint (say with a known client ID and secret) and send back a token.
  • eeshaan

    eeshaan

    5 months ago
    is there any way to send a token without session-based management. like, if i just want to verify a clientID and secret instead?
    eeshaan
    r
    17 replies
    Copy to Clipboard
  • eeshaan

    eeshaan

    5 months ago
    are there any guides for use with VueJS?
  • eeshaan

    eeshaan

    5 months ago
    i suppose it would just be plain JS. nevermind
  • axua

    axua

    5 months ago
    is it possible to not use the front end sdk or is that required
  • n

    nkshah2

    5 months ago
    The SDK handles automatically calling the refresh endpoint for you among other things, but if you were willing to handle that yourself you can use just the backend SDK and call the APIs yourself. Although I would recommend using supertokens-website so you can enable request interception (makes life much simpler)
  • Kartik

    Kartik

    5 months ago
    how do i connect supertokens container with my postgres container
    Kartik
    r
    90 replies
    Copy to Clipboard
  • FrAgOrDiE

    FrAgOrDiE

    5 months ago
    In NestJS I'm setting a POST request which doesn't work if using the Authentication guard. GET requests work, POST don't. It seems to be
    resp.headersSent
    being true in the authentication guard. How does this work?
    FrAgOrDiE
    r
    +1
    36 replies
    Copy to Clipboard
  • Falci

    Falci

    5 months ago
    Folks, I'm struggling to have it working, but the problem is not really SuperTokens but Apollo Server. I'm trying to use subscriptions, following this guide (https://www.apollographql.com/docs/apollo-server/data/subscriptions/#enabling-subscriptions). It "works" but I can't put SuperTokens' session in the context. Any suggestion ?
    Falci
    r
    9 replies
    Copy to Clipboard