You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for implementing a solution to enable refresh token workflow using graphlq-request. I can't see the possible way to catch the errors on the client, see what kind of error it is(looking for expired-token for example) and then execute mutation to get the new token and retry the first query that errored.
Did somebody implemented smth like this or maybe there is a native solution provided for the library which I don't see?
Thanks a lot !
The text was updated successfully, but these errors were encountered:
Been a while. This use-case will be considered for #853. Thanks for initially raising it @d-ivashchuk. Hope things are well! (Brief time as a Prisma colleague :))
I am looking for implementing a solution to enable refresh token workflow using
graphlq-request
. I can't see the possible way to catch the errors on the client, see what kind of error it is(looking forexpired-token
for example) and then execute mutation to get the new token and retry the first query that errored.Did somebody implemented smth like this or maybe there is a native solution provided for the library which I don't see?
Thanks a lot !
The text was updated successfully, but these errors were encountered: