Issues with LinkedIn Oauth

We’re trying to let users login to LinkedIn to give permission to post on their behalf. For this we need to setup the Oauth process.

To login, this action is performed first:

This works fine, so after giving permission, a code is returned in the callback url:


Which is saved in this action.

But trying to turn this authentication code into an access code using this API setup…

Gives the following error:

Even when pasting the code from the url into the code field within 20 seconds doesn’t work.

The redirect url could be the problem, but I do get redirected back to my app after giving permission. This is what it looks like in the LinkedIn app:

Anyone who knows what the issue is? Thanks so much!