auth 2.0 server with php

Job ID: 37129234

Budget: €250 – €750 EUR

ENVIRNOMENT SUSE LINUX

CREATE A SERVER WITH OAUTH 2.0 AUTHORIZATION MECHANISM HOSTING 4 SERVICES CONSISTING IN 4 PHP SCRIPTS

THE COMMUNICATION IS MACHINE TO MACHINE, SO NO USER LOGIN REQUIRED

The server exposes 4 services + the endpoint to give the TOKEN www.MYSERVER.COM/api/CODE/auth

Method Endpoint
POST /api/CODE/service1
POST /api/CODE/service2
POST /api/CODE/service 3
DELETE /api/CODE/service4

On the client side the services are invoked with curl
Example

curl –s –k –X “POST” https://www.MYSERVER.COM/api/CODE/service1 --cert-type P12 --cert keystore_auth.p12:$PASSWORD –H “Authorization: Bearer $AUTH –F “file=@$FILE,type=application/json”

This command should execute a PHP script on the server that create the json answer file depending on the endpoint.

I give ssh access with ssh to the server to configure
Preferred Linux distribution SuSELinux
Related categories: PHP Linux Apache Shell Script