nayanAubie / signin_with_linkedin

MIT License
0 stars 2 forks source link

Flutter web Linkedin login issue #10

Open Raviteja11122 opened 2 months ago

Raviteja11122 commented 2 months ago

After successfully login getting below error

Error on LinkedIn sign in: LinkedInError(null, ClientException: XMLHttpRequest error., uri=https://www.linkedin.com/oauth/v2/accessToken, null)

gokulmdreizend commented 1 month ago

Hi @Raviteja11122 , Any solutions?

Raviteja11122 commented 1 month ago

Hi @gokulmdreizend,

In flutter web it's not possible to get access token and profile information. You will have login token in url redirection. Take that token and send to your backend server and hit access token and user profile APIs in server and get the information there.