IOSLinkedInAPI icon indicating copy to clipboard operation
IOSLinkedInAPI copied to clipboard

Renew access token feature

Open jeyben opened this issue 11 years ago • 5 comments

Implement an easy way to renew accesstokens: https://developer.linkedin.com/documents/handling-errors-invalid-tokens

jeyben avatar Apr 27 '13 22:04 jeyben

+1

mckapur avatar Dec 30 '13 09:12 mckapur

Good to see that this has been added in 2.0 milestone. Any idea of when this will be completed?

MallowTech avatar Jan 28 '14 06:01 MallowTech

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.

jeyben avatar Jan 30 '14 20:01 jeyben

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.

markkrenek avatar Jun 30 '14 13:06 markkrenek

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

adozenlines avatar Feb 19 '15 16:02 adozenlines