aspnet-contrib / AspNet.Security.OAuth.Providers

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

LinkedIn Authentication Fails #900

Closed jni759 closed 5 months ago

jni759 commented 5 months 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 5 months ago

834

martincostello commented 5 months ago

This should be resolved by version 8.1.0.