Bypass auth interceptor for some request #2148
Replies: 1 comment
-
You can add use an |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have an auth interceptor that adds an access token to every API request. Some of my requests don't need the interceptor. I want to add other headers to those requests. In that case, how do I ignore the interceptor?
The interceptor is added to the dio instance when the app starts.
Beta Was this translation helpful? Give feedback.
All reactions