|i am taiwan user english poor|
i used this library andn run
OAuth client error
Error: the dialog URL is not defined for this server
i need or modify some code?
|2013-08-14 07:45:52 - In reply to message 1 from jainjerome|
|That is a generic example that is not meant to access any specific OAuth server.|
You need to configure all URLs to access the OAuth server you want.
What OAuth server you want to access?
If you want to access a OAuth server that has built-in support in the class, you just need to set the server variable and the class will automatically configure all the URLs for you.
|2013-08-15 00:54:46 - In reply to message 2 from Manuel Lemos|
|Yes but i want access my Oauth server |
so i setting
$client->server = 'localhost';
but i don't know how to setting class
oauth_client.php cna you help me how to do
thank you so much
|2013-08-15 02:54:18 - In reply to message 3 from jainjerome|
|Are you sure you really developed a OAuth server that is running in your machine?|
The server variable is just for servers with built-in support in the class.
If you have a OAuth server in your machine, you should set other variables.
Please read the documentation as it explains everything you need to know.
|2013-08-15 02:59:26 - In reply to message 4 from Manuel Lemos|
|The Oauth server need build in linux |
if window can setting?
|2013-08-15 05:31:57 - In reply to message 5 from jainjerome|
|I am not sure what you mean. Can you explain better?|
|2013-08-15 07:04:42 - In reply to message 6 from Manuel Lemos|
|The Oauth server can set on windows|
i use appserv php mysql
|2013-08-15 07:26:51 - In reply to message 7 from jainjerome|
|There seems to be some kind of misunderstandings. The OAuth server is a remote site with an API that you need to call. This has nothing to do with the server on which you run PHP, and it does not matter if you run Windows or Linux.|
|2013-08-16 08:39:13 - In reply to message 8 from Manuel Lemos|
|[下午 04:38:34] Potato(烤蕃薯)-漂亮了~讚啦~: Hi, |
Thanks for your quickly response. I try to describe my problem more details for your reference.
I Wnat to create the OAuth Server on my local machine. And use your PHP OAuth client library.
1) I reference the below site step by step to generate the my local server environment.
OAuth-Server Download: https://github.com/php-loep/oauth2-server
OAuth-Server Document: https://github.com/php-loep/oauth2-server/wiki/Developing-an-OAuth-2.0-authorization-server
2) In the official document about the install library after create composer.json. In my environment, I can't exec this UNIX command "composer install".
composer.json - example.
3) Because my environment is windows base. I cna't exec this command "composer install" or "composer update". Have any suggestion or reference URL can help me, thanks.
Please help me again.
|2013-08-16 09:00:57 - In reply to message 9 from jainjerome|
|Sorry, I can't help you regarding that OAuth server because I did not develop it. You need to ask its developer.|
I just can help you to setup the client once you have the server working.