mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-26 08:38:58 -04:00
Fix client credentials setting in OAuth form
This commit is contained in:
1 parent
edc594f1c1
commit
712eb7b5a2
1 file changed
+3
-3
@@ -83,7 +83,7 @@ class OAuth2 extends PureComponent {
|
||||
}
|
||||
|
||||
_handleChangeCredentialsInBody (e) {
|
||||
this._handleChangeProperty('credentialsInBody', e.target.value);
|
||||
this._handleChangeProperty('credentialsInBody', e.target.value === 'true');
|
||||
}
|
||||
|
||||
_handleChangeClientSecret (value) {
|
||||
@@ -237,8 +237,8 @@ class OAuth2 extends PureComponent {
|
||||
'Client Credentials',
|
||||
'credentialsInBody',
|
||||
[
|
||||
{name: 'As Basic Auth Header (default)', value: false},
|
||||
{name: 'In Request Body', value: true}
|
||||
{name: 'As Basic Auth Header (default)', value: 'false'},
|
||||
{name: 'In Request Body', value: 'true'}
|
||||
],
|
||||
this._handleChangeCredentialsInBody
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user