Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the LinkedIn provider to use "Sign In with LinkedIn V2" #1774

Merged
merged 1 commit into from May 20, 2023

Conversation

kevinchalet
Copy link
Member

@kevinchalet kevinchalet commented May 20, 2023

The userinfo endpoint used by the LinkedIn provider points to the unversioned LinkedIn Marketing API that will be removed soon. While it would be easy to use the versioned alternative, this PR goes further by moving from the OAuth 2.0-only "Sign In with LinkedIn" service to the newer OpenID Connect implementation called "Sign In with LinkedIn V2" that offers a standard userinfo endpoint.

Note: this change is binary breaking (given that the Fields option is being removed). It's also important to note that different claims are returned by the standard OIDC userinfo endpoint.

@kevinchalet
Copy link
Member Author

To avoid the binary breaking change, I decided to keep the Fields option and update the generator to support marking it as obsolete.

@kevinchalet kevinchalet merged commit 620c395 into openiddict:dev May 20, 2023
3 checks passed
@kevinchalet kevinchalet deleted the linked_in branch May 20, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant