LinkedIn API Oauth 2.0 - redirect url with query param conflicts during generating accesstokem

Suganya Jeyaraman 1 Reputation point
2021-11-05T17:54:37.463+00:00

I'm trying to use redirect url with params - e.g. https://mydomain/path?qparams=abc in my frontend application.

  1. first redirection - works successfully and call is routed to my backend at /path route.
  2. API call for obtaining the access_token - doesn't work, complains about redirect URL is wrong.

I try to use the redirect url with and without params in the second call as well https://mydomain/path?qparams=abc

=================================================

I'm aware this
The bellow mentioned in the documentation that

LinkedIn #Oauth

parameters are ignored:
https://dev.example.com/auth/linkedin/callback?id=1

Microsoft Security | Microsoft Authenticator
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.