Nov 3, 2018

How to fix Linkedin: expired access token 401 (Unauthorized) problem

If you encounter: expired access token 401 (Unauthorized) problem in Linkedin, to fix it, for example in JavaScript:

Put the following to your error handling function such as function onError(error) { ... }
IN.User.logout();
IN.UI.Authorize().place();