OAuth: getting a callback with parameters as POST data

I am new to OAuth, I am using oauth2a Python library to do my job.

Currently, when I get a callback from the server, the parameters get to the URL as:

http://mydomain/?oauth_verifier=(SOME_DATA)&oauth_token=(SOME_DATA)&oauth_callback_confirmed=true

I wonder whether the server in any way specify POSTthe parameters ( oauth_verifier, oauth_token, oauth_callback_confirmed) to me as a callback and show them The URL-address (as a GET request)?

Thank!

+5
source share
1 answer

No, it is not possible to encode callback parameters as a POST request. OAuth Spec says the provider issues an HTTP redirect to the callback URL:

URL- oauth_callback (as Consumer, ), URL- HTTP GET - URL :

HTTP- GET, POST, URL-.

+6

All Articles