Replies: 2 comments 1 reply
-
|
Hi, The error - "No OAuth 2.0 access tokens found for request" occurs because when a request uses Inherit from parent, it does not own the token—it borrows it from the parent. The OAuth 2.0 Access Token template tag currently works only when the credentials are defined directly on that specific request. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hi, A feature request has been raised to allow OAuth 2.0 access token template tag to inherit from parent folder/ request in insomnia. |
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 setup OAuth 2 authentication for a folder. I verify authentication by clicking refresh token button. I see that token appears. I create a new request inside that folder. I click Auth tab of that request and choose Inherit from parent. Now I want to use this token in custom header. I add OAuth 2.0 access token for header value. I get message "No OAuth 2.0 access tokens found for request". It works when I add OAuth2 authentication directly to request. When I remove my custom header I can see that authentication from parent (folder) shows up as a Authorization header. But in my case I need that token as a custom header instead of Authorization.
Beta Was this translation helpful? Give feedback.
All reactions