mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-20 14:17:29 -04:00
Remove unnecessary state parameter when exchanging code for token in OAuth2 (#9496)
This commit is contained in:
@@ -195,7 +195,6 @@ export const getOAuth2Token = async (
|
||||
{ name: 'grant_type', value: GRANT_TYPE_AUTHORIZATION_CODE },
|
||||
{ name: 'code', value: redirectParams.code },
|
||||
...insertAuthKeyIf('redirect_uri', redirectUrl),
|
||||
...insertAuthKeyIf('state', authentication.state),
|
||||
...insertAuthKeyIf('audience', authentication.audience),
|
||||
...insertAuthKeyIf('resource', authentication.resource),
|
||||
...insertAuthKeyIf('code_verifier', codeVerifier),
|
||||
|
||||
Reference in New Issue
Block a user