Back

[SOLVED] LinkedIn error

  • 0
  • Web
mitsy0_0
6 Aug, 2023, 07:44

LinkedIn OAuth is not working

TL;DR
User is experiencing an error with LinkedIn OAuth on the Appwrite platform. They initially mention a possible 3-legged authentication issue and ask if Appwrite uses 2-legged or 3-legged authentication. User later realizes the issue is solved. They provide a link to a Stack Overflow post which may be helpful. They mention the possibility of missing configuration on LinkedIn's side but are unsure if they made any special configurations. User receives suggestions about invalid scope, a URL with a 400 error, and incorrect app ID and secret. They confirm following the correct steps and provide the code they used for LinkedIn OAuth implementation. User concludes that it is not a
safwan
6 Aug, 2023, 07:58

Can you show the code you used to implement LinkedIn OAuth?

mitsy0_0
6 Aug, 2023, 08:23

According to me, its not a code error really

mitsy0_0
6 Aug, 2023, 08:24
TypeScript
      "linkedin",
      "http://localhost:3000/success",
      "http://localhost:3000/failure"
    );```
mitsy0_0
6 Aug, 2023, 08:24

I went here https://www.linkedin.com/developers/apps/ and simply created a new app

mitsy0_0
6 Aug, 2023, 09:25

this is exactly what I did

mitsy0_0
6 Aug, 2023, 09:25

Is there any additional config I need to do?

mitsy0_0
6 Aug, 2023, 09:29

I added the callback URL given by appwrite

mitsy0_0
6 Aug, 2023, 09:30

And copy pasted the app ID and secret

Drake
6 Aug, 2023, 16:38

What's the URL of that 400 page?

Drake
6 Aug, 2023, 17:21

Uh did you pass an invalid scope?

mitsy0_0
6 Aug, 2023, 17:22

um

Drake
6 Aug, 2023, 17:23

Weird..I tested oauth LinkedIn recently and it worked..

Drake
6 Aug, 2023, 17:24

Maybe some missing config in LinkedIn? But I don't remember doing anything special...

mitsy0_0
6 Aug, 2023, 17:29

Oh it worked. Great!

D5
6 Aug, 2023, 17:45

[SOLVED] LinkedIn error

mitsy0_0
7 Aug, 2023, 14:32

So, does appwrite use 3-legged or 2-legged?

safwan
7 Aug, 2023, 14:32

I think it's 3 legged

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more