api-console icon indicating copy to clipboard operation
api-console copied to clipboard

OAuth signature does not match

Open sudarshann opened this issue 9 years ago • 0 comments

Hi I have this set up at the below url https://man-sudarshann-1.c9.io/api/

I am getting this error OAuth signature does not match. I have tried all the fixed for this over the internet. but none helped

$signature = 5rPsul6zplhfNvb4o+Mz11O/OyI= $consumer_signature = 3ko8DUsUUEB4Hqaks68vGYnTjQM=

if ( ! hash_equals( $signature, $consumer_signature ) ) { return new WP_Error( 'json_oauth1_signature_mismatch', __( 'OAuth signature does not match' ), array( 'status' => 401 ) ); }

I guess the API console is generating wrong signature. Please help me with this.

sudarshann avatar Apr 27 '15 08:04 sudarshann