• r

    rp

    6 months ago
    @User is this a blocker for you?
  • martin8

    martin8

    6 months ago
    Yes it was. Was able to make my own interceptor though, not too complicated. It triggers on a 401 if statement and invokes that refresh function supertokens-website has, then retries the request. If still error after that, just throws.
  • r

    rp

    6 months ago
    Makes sense!
  • r

    rp

    6 months ago
    If you have time and can make a PR for it, that would be great!
  • r

    rp

    6 months ago
    Or just an issue describing your code.
  • martin8

    martin8

    6 months ago
    Yup no worries, if I get around to it will do then. Cheers. Also, enjoy y’all’s weekends lads 😄
  • r

    rp

    6 months ago
    You too!
  • nxteword

    nxteword

    6 months ago
    I have a question regarding using supertokens node in express. If I throw an error manually in one of my routes, after errorHandler() middleware, will the error be forwarded using next if it's not a supertokens error?
  • r

    rp

    6 months ago
    If I throw an error manually in one of my routes, after errorHandler() middleware The supertokens errorHandler middleware should be declared after all your routes. So im not sure what you mean by this statement.
  • nxteword

    nxteword

    6 months ago
    Let me explain