Support » Plugin: WordPress REST API - OAuth 1.0a Server » error: oauth_verifier in Access-Control-Allow-Headers

  • I keep getting this error. Would you have any suggestions for me please?
    Request header field oauth_verifier is not allowed by Access-Control-Allow-Headers in preflight response.

    Here is my code:
    var settings = {
    “async”: true,
    “crossDomain”: true,
    “url”: “”,
    “method”: “POST”,
    “headers”: {
    “oauth_verifier”: “xxxxxxxxxxxxxxxxxxxx”,
    “authorization”: “OAuth oauth_consumer_key=’xxxxxxxxxxx’,oauth_token=’xxxxxxxxxxx’,oauth_signature_method=’HMAC-SHA1′,oauth_timestamp=’1497028062′,oauth_nonce=’xxxxxxxxxxx’,oauth_version=’1.0′,oauth_signature=’xxxxxxxxxxx'”,
    “content-type”: “application/x-www-form-urlencoded”
    jQuery.ajax(settings).done(function (response) {

  • The topic ‘error: oauth_verifier in Access-Control-Allow-Headers’ is closed to new replies.