Friday, January 16, 2015

Php & MySql oAuth2 Server & Client Example

Download source code and install


Add a new client secret pair to server side:


Start authorize from client side:



Authorize application from server side, add your login functionality by own to make the page restricted.


Now, you are getting your data from server using the access token. After expire access token, program automatically can collect new access token using refresh token.



No comments:

Post a Comment