Please read below and bid accordingly.
This project is to build a micro-site that demonstrates oAuth authentication, user details extraction, and Cookie-sending. It will write customised-access tokens to be used in ModRewrite on an application website.
ModRewrite is out of the scope of this project - but is described at [login to view URL]
Use the oAuth PHP library at [login to view URL]
and, if necessary, add the extensions for: PayPal, Gmail, Uber, LinkedIn, Facebook, Dropbox, Microsoft, Slack. (Try to use default oAuth 2.0 if possible)
Use SQLLite or Mysql as the data-storage DB.
Ideally use a single PHP script as the handler regardless of the oAuth provider.
Step 1: Build a HTML page with login buttons for each Provider above.
Step 2: Build a PHP script to process the redirection
a) Authorize the user and obtain token
b) Set Session state
c) Obtain user details: Name, Email (Phone and Address if Provider supports)
d) Log the IP, User Details, Expiry and AcessToken to a DB. Add a GUID and timestamp.
e) Crypt the GUID with MD5 and a private salt. We call this 'CryptedGUID'.
f) Set a parent-domain Cookie "User" = CryptedGUID
g) Append the CryptedGUID to a text file. Then run httxt2dbm to push the text file into DBM file.
h) Redirect the User to the Application URL at the 2ndSubDomain
Step 3: At the 2nd SubDomain
a) Receive the Cookie "User". Decrypt it to obtain the GUID.
b) Retrieve from the Database all record details.
c) Display the record details in the page.
d) If the GUID is invalid - then display error.
let me know if there is any question.
Place your bid with time the time frame for each step.
6 威客就此工作平均出价 $569
We are also a startup and looking for the long partnership and business relations with our clients. Let's have chat or call and discuss and understand to each other then you can take it forward.