Hot answers tagged oauth
If you are hosting the service, then you could setup SSL on your side. There are several options to authenticate the clients. You can use a token like you said in the question. You can use http auth, and have them specify username and password. You can use client SSL certs like Mircea said. You can base it off of the connecting ip address.
Its rather a large topic, is your API purely web based? Why is SSL too hard? If you want trusted communications from automated clients and to guaruntee non-repudiation, youre going to need SSL. If your API is accessed from a user session, can you implement 2 factor authentication. Using something like the RSA tokens, or even the google authenticator if they ...
There's an error: configure: error: Cannot find php-config. and on the same line, instructions on how to fix it: Please use --with-php-config=PATH Obviously, PATH needs to be replaced with the actual path to your php-config. If you don't have php-config installed, you will have to install that first.
To remind myself: Install all of Xcode Download the PHP source Go to source-dir./etc/ Copy the /pcre/ dir. in to: /usr/include/php/ext/ Copy pcre.h from /usr/include/php/ext/pcrelib/ in to: /usr/include/php/ext/ sudo pecl install oauth Add extension=oauth.so to php.ini
Per the other answer, you're missing PCRE headers. Here's a fix: Install MacPorts Run these commands to build PCRE and put the headers where pecl is looking for them: sudo port install pcre sudo cp /opt/local/include/pcre.h /usr/include/ Retry the oauth build: sudo pecl install oauth
Hey, '/usr/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory' You're missing 'perl-compatible-regular-expression' header file. Why don't you install development package for pcre first and then try to recompile? I'm not sure what that package is called on macports, on debian, for example, it is called 'libpcre3-dev'. -F
Only top voted, non community-wiki answers of a minimum length are eligible