Linkedin Oauth (5.10.x)

We are in the process of upgrading our application and as part of it, was looking at new LinkedInAuthProvider in SS. One thing we noticed is that we were not able to set the Scopes - looked around in the SS code, I was not able to find a place where it is read from AppSettings - Looks like it is hardcoded ?
Previous versions allowed Scopes to be passed in Constructor of the provider and also using the AppSettings, we lost that ability now.

For now, we extended the provider to set our scopes. Once we did that, it redirects to LinkedIn, user enters login information, when it is redirected back - it comes back with URL querystring #f=Unknown - What could be the error here?

Thanks!

I’ve made Scopes public and added ability to read from AppSettings in this commit.

This change is available from the latest v5.10.5 that’s now available on MyGet.

Unknown is when an unknown error or state occurs, if it was due to a failed HTTP Request enabling logging should show more info.

1 Like