IOSLinkedInAPI
IOSLinkedInAPI copied to clipboard
Renew access token feature
Implement an easy way to renew accesstokens: https://developer.linkedin.com/documents/handling-errors-invalid-tokens
+1
Good to see that this has been added in 2.0 milestone. Any idea of when this will be completed?
This issue is not really supported in milestone 2.0.0. It is only possible to ask if the current token is expected to be valid - an automatic renewal of tokens would be prefered, hence I have moved this issue to milestone 3.0.0.
Has anyone looked into how to renew the access token WITHOUT calling up the web view and having the user reenter the email & password? The goal is to transparently renew, but all my online research hasn't revealed a way to do this. LinkedIn suggests just sending the user back through the authentication flow, which means putting up the web view.
Their Tokens have a 60 life span so on the 59th day put user their login process and the refresh occurs server side automatically, not the best experience but it works.
http://stackoverflow.com/questions/20484815/can-linkedins-access-token-renewal-flow-be-performed-on-the-server