Simple PHP example of using IBMid's OAuth 2 API
- open this page (https://w3.innovate.ibm.com/tools/sso/home.html), and Register a IBMid application.
- get your owen Client ID.
- enjoy it~
Thank you for aaronpk's github-oauth2-client.php (https://gist.github.com/aaronpk/3612742)