Rough cut of OAuth2 authentication appears to be working... just needs some additional polish