{"action":"created","issue":{"url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/38","labels_url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/38/comments","events_url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/38/events","html_url":"https://github.com/nraboy/ng-cordova-oauth/issues/38","id":58695208,"number":38,"title":"Prevent cannot GET /callback screen from showing","user":{"login":"tjsail33","id":3916501,"avatar_url":"https://avatars.githubusercontent.com/u/3916501?v=3","gravatar_id":"","url":"https://api.github.com/users/tjsail33","html_url":"https://github.com/tjsail33","followers_url":"https://api.github.com/users/tjsail33/followers","following_url":"https://api.github.com/users/tjsail33/following{/other_user}","gists_url":"https://api.github.com/users/tjsail33/gists{/gist_id}","starred_url":"https://api.github.com/users/tjsail33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjsail33/subscriptions","organizations_url":"https://api.github.com/users/tjsail33/orgs","repos_url":"https://api.github.com/users/tjsail33/repos","events_url":"https://api.github.com/users/tjsail33/events{/privacy}","received_events_url":"https://api.github.com/users/tjsail33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-24T05:25:00Z","updated_at":"2015-02-24T16:24:33Z","closed_at":null,"body":"When returning from the Google OAuth flow, there is a screen that says \"Cannot GET /callback\" that disappears quickly, however I would like to know if there is a way to make it disappear quicker or if it is possible to display custom text such as \"Signing in...\" in it's place. That screen looks like an error and isnt anything I would like my end users to see."},"comment":{"url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/comments/75789033","html_url":"https://github.com/nraboy/ng-cordova-oauth/issues/38#issuecomment-75789033","issue_url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/38","id":75789033,"user":{"login":"tjsail33","id":3916501,"avatar_url":"https://avatars.githubusercontent.com/u/3916501?v=3","gravatar_id":"","url":"https://api.github.com/users/tjsail33","html_url":"https://github.com/tjsail33","followers_url":"https://api.github.com/users/tjsail33/followers","following_url":"https://api.github.com/users/tjsail33/following{/other_user}","gists_url":"https://api.github.com/users/tjsail33/gists{/gist_id}","starred_url":"https://api.github.com/users/tjsail33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjsail33/subscriptions","organizations_url":"https://api.github.com/users/tjsail33/orgs","repos_url":"https://api.github.com/users/tjsail33/repos","events_url":"https://api.github.com/users/tjsail33/events{/privacy}","received_events_url":"https://api.github.com/users/tjsail33/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T16:24:33Z","updated_at":"2015-02-24T16:24:33Z","body":"Interesting. My solution is different than the solution you had, and should prevent the issues mentioned above. However, my solution likely will not work for all of the different providers. \r\n\r\nhttps://gist.github.com/tjsail33/dbca5880b5572ec7d1f0\r\n\r\nCheck out line 16. I moved that out of a timeout after line 27, and up to the top. This way, the callback error only shows for a split second as the window is loading, but not for long enough to see what it says."}}