-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Labels
Description
When configuring a new request, using OAuth 2 authorization, under Advanced Settings, the Credentials Location setting defaults to "Message Body". I change that to "Authorization Header", and save the request.
When I open the request again, the Credentials Location has defaulted back to "Message Body".
Expected outcome
User-selected value should be retained.
Actual outcome
Drop-down defaults back to "Message Body"
Versions
App: 17.0.9
Platform: win32
Electron: 17.1.0
Chrome: 101.0.4951.54
V8: 9.8.177.11-electron.0
Node: 16.13.0
Steps to reproduce
- Create new request
- Select "Authorization" tab
- Enable "OAuth 2" entry under "Select authorization" drop-down
- Select OAuth 2 entry under "Select authorization" drop-down to change view
- Select "Client Credentials" under "Grant type" drop-down
- Enter Client ID
- Enter Client Secret
- Enter Access Token URI
- Add "api" to the Scopes collection
- Select "Authorization Header" under "Credentials location" drop-down
- Save request
- Clear the editor
- Open previously saved request
- Select "Authorization" tab
- Enable "Advanced settings" toggle
- Observe "Credentials location" setting has reverted to "Message body"