Hello fellow developers...
I am new to oauth2 and I found Scribe Java Library which suits my needs... but the problem is that I have my own oauth2 server which receives request via POST and user credentials are passed through PAYLOAD "application/x-www-form-urlencoded"
Here you can see sample request: SCREENSHOT
And when I try to implement my own ApiClass using documentation
https://github.com/fernandezpablo85/scribe-java/wiki/Custom-Apis
and I noticed that client credentials are attached to url
private static final String AUTHORIZE_URL = "http://jimbo.com/oauth/authorize?token=%s";
which means authorization requests are made via GET :(
How to configure ApiClass properly to make POST request?
Thanks in advance :)
UPD: for the OAuth2 Server Side I am using
github.com/Filsh/yii2-oauth2-server