Issue 138 in oauth-php: Invalid consumer

7 views
Skip to first unread message

oaut...@googlecode.com

unread,
Aug 8, 2013, 6:37:02 AM8/8/13
to oauth-ph...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 138 by ioannoua...@gmail.com: Invalid consumer
http://code.google.com/p/oauth-php/issues/detail?id=138

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

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

oaut...@googlecode.com

unread,
Aug 8, 2013, 6:38:42 AM8/8/13
to oauth-ph...@googlegroups.com

Comment #1 on issue 138 by ioannoua...@gmail.com: Invalid consumer
http://code.google.com/p/oauth-php/issues/detail?id=138

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.
Reply all
Reply to author
Forward
0 new messages