dhanasekaranv / oauth-php

Automatically exported from code.google.com/p/oauth-php
MIT License
0 stars 0 forks source link

HTTP fine, HTTPS not #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. HTTP works fine, but when I switch to HTTPS it doesn't work, using the 
example code from the r175 for both server and client

What is the expected output? What do you see instead?
OAuth Verification Failed: Verification of signature failed for request_token

What version of the product are you using? On what operating system?
r175

Please provide any additional information below.

Original issue reported on code.google.com by hughes.toby on 6 Apr 2011 at 4:54

GoogleCodeExporter commented 9 years ago
Code looks for $_SERVER['HTTPS'] to be set to "on" for https.  If you're using 
something other than Apache, this might not be the case (it wasn't for me in my 
nginx setup).  I worked around it by setting $_SERVER['HTTPS'] to "on" when the 
other server var said I was in https.

Original comment by dbelli...@gmail.com on 15 Jul 2011 at 11:33