Linkedin OAUTH Core Function - "The redirect_uri does not match the registered value"

I had this issue and had skipped the step for redirect.

Replace discourse.example.com with your site.

https://discourse.example.com/auth/linkedin_oidc/callback