Interceptors #1257
Closed
RWOverdijk
started this conversation in
Ideas
Interceptors
#1257
Replies: 1 comment
-
I suppose this could go in the custom fetch() method |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently looking around for a different solution from my tried and true axios setup.
One thing I currently do for authenticated endpoints is check JWT before a request and handle refresh tokens. This is async and works well with axios interceptors.
How would/could this work with openapi-fetch? I can see this being especially interesting when combined with openapi security scheme to really bring it all together.
I put this in ideas because I couldn't find the answer in the readme and thought it would be a cool feature/recipe to add.
Beta Was this translation helpful? Give feedback.
All reactions