Atlantia oAuth2 Provider
Testing:
Validate Access and get token:
curl https://oauth2.atlantia.sca.org/token.php -d 'grant_type=client_credentials' -d 'client_id=testclient' -d 'client_secret=testpass' {"access_token":"14e26ec1ed2727598f37e0b5a556a7cc5aa02473","expires_in":3600,"token_type":"Bearer","scope":null} curl https://oauth2.atlantia.sca.org/resource.php -d 'access_token=14e26ec1ed2727598f37e0b5a556a7cc5aa02473' {"success":true,"message":"Access to the Atlantian APIs is granted. Huzzah!"} http://www.oauth2.atlantia.sca.org/authorize.php?response_type=code&client_id=testclient&state=xyz curl https://oauth2.atlantia.sca.org/token.php -d 'grant_type=authorization_code' -d 'code=1eb7dd60b4a0604d9d5f255440932197806b64f2g'
I'll be setting up a better demo that uses real web stuff but it may take me a minute.