The below documentation says
https://developer.linkedin.com/docs/Refresh-Tokens-with-OAuth-2
When exchanging Authorization Code for an Access Token, If Refresh Tokens are enabled, the following fields will also be returned:
refresh_token
refresh_token_expires_in
But I don't see any proper documentation to enable refresh token, because I get access_token and expiry_in but not refresh token. So How to enable refresh token or any other param do I need to pass to get refresh token
The top of that page states:
So I suppose you have to contact them and ask them to configure it for your app until they make it GA. That's how I read it at least.
The documentation is absolutely dreadful for a company that size! Good luck.