PHP OAuth2.0 client
We built a provider based on the PHP League OAuth2.0 client.
You will find all installation and operating instructions on the project page on Github.
You can download a sample project here and simply replace clientId, clientSecret, and redirectUri parameters in index.php file.
Follow the instructions here to create an application in Braincube.
Once you have a valid OAuth2.0 token you need to open a SSO session to retrieve a SSO token and discuss with the Braincube API.