Unit testing OAuth using a mock oauth server
The authentication should be unit tested. It is not possible to unit test it with GitHub as GitHub's OAuth service is outside our control. A mock OAuth server should be used for development and testing.
Edited by Shashank Anand