-
-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new backend for LinkedIn OpenID Connect (#833)
* create linkedin openid connect backend * add docstring with link to official docs and deprecation notice for oauth2 * define oidc endpoint for linkedin * override token auth method to provide client id and secret in payload (not basic auth) * copy and override validate_claims to remove not support nonce validation * remove already disabled code section for nonce check * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add test case for linkedin openid (still breaking, inspired from google) * skip invalid nonce test as linkedin does not provide any nonce --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9c630a6
commit e0cb888
Showing
2 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters