Community Login Service
From Voice of the Proletariat
The banniNation Community Login Service is designed to allow third party sites to use banniNation credentials for login and identification.
How it works
- The user starts on http://www.3rdpartysite.com
- They click a "Login with bN Community Login" button
- The site links them to http://community.bannination.com/login/http://www.3rdpartysite.com/bntransfer.php
- The user can enter their login and password on the community site
- If the login is accepted then the user will be redirected to a URL like http://www.3rdpartysite.com/bntransfer.php?key=somealphanumericstring
- The third party site then retrieves the url http://community.bannination.com/id/somealphanumericstring
- The bannination server returns the username and stfu index in a uri_encoded string like this "status=0&username=grahams&userid=5&stfu=0&slowdown=0"
Benefits
- Third party sites will never have access to a bN users email address or password
- Third party sites can definitively identify bN users
- Third party sites can know if a bN user is on slowdown (returns 10 for disemvowelled and 20 for stfu) and stop them from disrupting another part of the community.
Working sample
- You can try the sample login at http://graha.ms/test.php
- Community Login Source
