intiaz / oauth-php

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

Invalid consumer #138

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Ok I am so confused. I got the server part working fine but there is not way I 
get the client part working.

1) I go to example/server/www/register.php and succesfully get a secret and key
2) I go to /example/client/twolegged.php and change the key and secret to the 
newly generated. I constantly get invalid consumer.

Apparently the only key and secret that is valid, are the hardcoded "key" and 
"secret" in file twolegged.php in lines 40 and 41.

How could I make this work with the newly generated key and secret, that are 
also successfully stored in the Database table oauth_server_registry???

thanks

Original issue reported on code.google.com by ioannoua...@gmail.com on 8 Aug 2013 at 10:36

GoogleCodeExporter commented 8 years ago
Note: what I am trying to do, is set an oauth server which will allow a user to 
register, receive a key/secret combination and then allow them to log to my 
server with their key/secret combination.

Original comment by ioannoua...@gmail.com on 8 Aug 2013 at 10:38