RESTClient
RESTClient copied to clipboard
Oauth 2.0 using grant type "client credentials" does not work
I just get busy cursor when I click "request token", the dialog box does not close, am I missing something?
Could you please provide more details? You can use web developer tool to view the requests send by RESTClient in network tab. It will be helpful if you can post the request and the logs in console tab (remember to mask your sensitive data first).


I think I did not make myself clear the issue is happening before getting the token itself, see screenshot
and the request token button gets locked in busy state. nothing happens when I use the developer console
I am using firefox 58.0.2 64bit, the latest. I guess oauth2 is yet to be implement for this browser
When you click the "request token" button RESTClient will initialize a XMLHttpRequest in web worker (at background) and set the button status to "loading". Something is wrong in the request, it will be helpful if you could open "Web developer tools" and provider some debug logs.
Please update to version 3.0.7 and try again.
Not working on 3.0.7 also. The request is not visible in Web developer tools "network monitor" I see this in the bottom pane on "network monitor"
[index.js] request url changed, decide request SEND button status. GET https: false index.js:4:18827 [index.js] request url changed, decide request SEND button status. GET https://blah:8443/blah true index.js:4:18827 [request.js] request url changed request.js:69:5 [index.js] request url changed, decide request SEND button status. GET https://blah:8443/blah true index.js:4:18827 [request.js] request url changed request.js:69:5 [oauth2.js] storage loaded! Object { } oauth2.js:321:9 [oauth2.js] grant type changed credentials
In client credentails the obtained token needs to be saved in the local storage till it expires?
@skshandilya Could you email me your parameters ( you may mask out your client secret first ) ? My email address is [email protected] , that will be very helpful to find the bug.