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
Happens both when I set the var in pre-Request through GUI to alias it or try referencing directly through bru.getVar('$oauth2.credentials.access_token')
Is there any other way to access the fetched token from the collection and/or request using getVar methods?
.bru file to reproduce the bug
No response
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered:
I have checked the following:
This bug is:
Bruno version
2.0.1
Operating System
MacOS Sequoia
Describe the bug
I'm trying to migrate to the new OAuth2 handling introduced in Bruno version 2. So far, so good.
Facing a problem though with trying to reference the access token in pre-request vars or script using
bru.getVar
It seems like even though the variable is being recognised as set, it cannot be referenced due to checks here
bruno/packages/bruno-js/src/bru.js
Lines 105 to 129 in 17a63d5
Happens both when I set the var in pre-Request through GUI to alias it or try referencing directly through
bru.getVar('$oauth2.credentials.access_token')
Is there any other way to access the fetched token from the collection and/or request using
getVar
methods?.bru file to reproduce the bug
No response
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered: