REST API Specification
/endpoints/v1/authentication/status
{ "displayName": "Anonymous", "authenticated": false, "loginUrl": "http://{host}/endpoints/v1/authentication/login" }
/endpoints/v1/authentication/status
{ "username": "homer.simpson", "displayName": "Homer Simpson", "authenticated": true, "logoutUrl": "http://{host}/endpoints/v1/authentication/logout" }
/endpoints/v1/authentication/login?redirect_to=/expected_redirect_site.com/page/
/expected_redirect_site.com/page/#/authToken/{sessionId}
/endpoints/v1/authentication/login
/endpoints/v1/authentication/status/#/authToken/{sessionId}