I am implementing the LinkedIn Authentication flow in an Angular 17 application. When a user initiates the LinkedIn login from the route www.example.com/linkedin
, they are redirected to LinkedIn’s login page. After a successful login, LinkedIn redirects the user back to the application with a query string containing the access token, resulting in a URL like www.example.com/linkedin?code=AccessToken
. However, while this redirect works fine during local development, in the deployed version, it returns a “not found” error. What could be the cause of this and how can i fix it
Hi there,
If www.example.com/linkedin
works then www.example.com/linkedin?code=AccessToken
will work as the ?
just makes code
parameter. However, reasons it might not work:
- Is the casing correct? linkedin vs linkedIn etc
- Do you have code that responds with a 404 if
code
is passed?
This is an application issue so the scope that we can provide here is limited.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.