aspnet-contrib / AspNet.Security.OAuth.Providers

OAuth 2.0 social authentication providers for ASP.NET Core
Apache License 2.0
2.34k stars 533 forks source link

LinkedIn Authentication Fails #900

Closed jni759 closed 3 weeks ago

jni759 commented 3 weeks ago

Describe the bug

Created a new LinkedIn App. The default OAuth 2.0 scopes are "openid", "profile", "email", "w_member_social". AspNet.Security.OAuth.LinkedIn requests "r_emailaddress" and "r_liteprofile" which results in an LinkedIn server error.

Steps To reproduce

Create a new LinkedIn app and try using it.

Expected behaviour

To be authenticated

Actual behaviour

LinkedIn error "Bummer".

System information

AspNet.Security.OAuth.LinkedIn 8.0.0

Additional context

martincostello commented 3 weeks ago

834

martincostello commented 3 weeks ago

This should be resolved by version 8.1.0.