mirror of
https://github.com/usebruno/bruno.git
synced 2025-05-05 15:32:58 +00:00
fix: OAuth2 key value retrieval
This commit is contained in:
parent
811c492bce
commit
92925648e6
@ -188,7 +188,7 @@ const processAuth = (auth, requestObject) => {
|
||||
};
|
||||
} else if (auth.type === 'oauth2') {
|
||||
const findValueUsingKey = (key) => {
|
||||
return auth?.oauth2?.find((v) => v?.key == key)?.value || '';
|
||||
return authValues[key] || '';
|
||||
};
|
||||
const oauth2GrantTypeMaps = {
|
||||
authorization_code_with_pkce: 'authorization_code',
|
||||
|
Loading…
x
Reference in New Issue
Block a user