# Linkedin OAUTH Core Function - "The redirect\_uri does not match the registered value"

**URL:** https://meta.discourse.org/t/linkedin-oauth-core-function-the-redirect-uri-does-not-match-the-registered-value/375899
**Category:** Support
**Tags:** linkedin-oauth
**Created:** [July 26, 2025, 1:12am UTC](https://meta.discourse.org/t/linkedin-oauth-core-function-the-redirect-uri-does-not-match-the-registered-value/375899 "2025-07-26T01:12:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![joshhabka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshhabka/32/452328_2.png) [@joshhabka](https://meta.discourse.org/u/joshhabka)
#### Post date: [July 26, 2025, 1:12am UTC](https://meta.discourse.org/t/linkedin-oauth-core-function-the-redirect-uri-does-not-match-the-registered-value/375899/1 "2025-07-26T01:12:03Z")

</div>

I have created a Linkedin developed app with “Sign In with LinkedIn using OpenID Connect” enabled.

Then I copied the client ID and primary client secret from the “Auth” tab and inputted them into “LinkedIn OIDC client ID” and “LinkedIn OIDC client secret” Discourse settings fields respectively.

Then, I added the following in the “Authorized redirect URLs for your app” setting on Linkedin under the “Auth” tab:

`https://forums.jtechforums.org/auth/linkedin_oidc/callback`

Then I enabled “Enable LinkedIn OIDC logins” in the Discourse settings.

Upon logging out and clicking the Linkedin OAUTH button, it shows the following from Linkedin:

```plaintext
### Bummer, something went wrong.

The redirect_uri does not match the registered value

```

Why is this happening and how can I fix this? I thought I followed all the steps properly outlined here: [Configure LinkedIn login using OpenID Connect](https://meta.discourse.org/t/configure-linkedin-login-using-openid-connect/305366)

---

<div class="post-metadata">

### Author: ![joshhabka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshhabka/32/452328_2.png) [@joshhabka](https://meta.discourse.org/u/joshhabka)
#### Post date: [July 26, 2025, 11:17pm UTC](https://meta.discourse.org/t/linkedin-oauth-core-function-the-redirect-uri-does-not-match-the-registered-value/375899/2 "2025-07-26T23:17:02Z")

</div>

Can someone confirm if this is a bug or a misconfiguration on my part? I double-checked and it looks like I followed the documentation 😿

---

<div class="post-metadata">

### Author: ![Thanatermesis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thanatermesis/32/119521_2.png) [@Thanatermesis](https://meta.discourse.org/u/Thanatermesis)
#### Post date: [September 16, 2025, 3:22pm UTC](https://meta.discourse.org/t/linkedin-oauth-core-function-the-redirect-uri-does-not-match-the-registered-value/375899/3 "2025-09-16T15:22:49Z")

</div>

Same issue, is there any fix?

---

<div class="post-metadata">

### Author: ![alanr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alanr/32/547213_2.png) [@alanr](https://meta.discourse.org/u/alanr)
#### Post date: [March 14, 2026, 8:34pm UTC](https://meta.discourse.org/t/linkedin-oauth-core-function-the-redirect-uri-does-not-match-the-registered-value/375899/4 "2026-03-14T20:34:26Z")

</div>

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

Replace [discourse.example.com](http://discourse.example.com) with your site.

[https://discourse.example.com/auth/linkedin\_oidc/callback](https://discourse.example.com/auth/linkedin_oidc/callback)
