Hi Guys,
I'm using the JSAPI, using In.User.Authorize() to pop up the 'login with linked-in' window. However, if the user decides that he/she doesnt want to use it, and clicks the 'cancel' button (as opposed to logging in), how do I register some sort of callback to the event when the user clicks 'cancel' or closes the window without authorizing? As far as I know, doing In.User.Authorize( function(res) { // do stuff here }) is only a callback if the user actually gets authorized (but nothing happens if the user clicks cancel.
Thanks!
- Log in to post comments
We don't currently support an "aborted" case so this isn't possible at the moment. We'll consider it for a future feature.
Sorry for the bad news :\
- Eugene