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

Upstream changes #1

Open
wants to merge 155 commits into
base: master
Choose a base branch
from
Open

Upstream changes #1

wants to merge 155 commits into from

Conversation

Rub21
Copy link

@Rub21 Rub21 commented Jan 29, 2025

No description provided.

pre-commit-ci bot and others added 30 commits September 19, 2023 11:18
updates:
- [github.com/asottile/pyupgrade: v3.10.1 → v3.11.0](asottile/pyupgrade@v3.10.1...v3.11.0)
* New backend for the WLCG IAM testing site

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update wlcg.py

Adding email scope in default scope

* Adding test for wlcg backend

Co-authored-by: Maiken Pedersen <maikenp@uio.no>
updates:
- [github.com/asottile/pyupgrade: v3.11.0 → v3.13.0](asottile/pyupgrade@v3.11.0...v3.13.0)
updates:
- [github.com/asottile/pyupgrade: v3.13.0 → v3.14.0](asottile/pyupgrade@v3.13.0...v3.14.0)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
- [github.com/asottile/pyupgrade: v3.14.0 → v3.15.0](asottile/pyupgrade@v3.14.0...v3.15.0)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
updates:
- [github.com/macisamuele/language-formatters-pre-commit-hooks: v2.10.0 → v2.11.0](macisamuele/language-formatters-pre-commit-hooks@v2.10.0...v2.11.0)
* Add new backend for EGI Check-in

Learn more at https://www.egi.eu/service/check-in/

* Fix json string in test

* Rename to make EGI more prominent

* Fix module name
updates:
- [github.com/psf/black: 23.9.1 → 23.10.0](psf/black@23.9.1...23.10.0)
updates:
- [github.com/psf/black: 23.10.0 → 23.10.1](psf/black@23.10.0...23.10.1)
* 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>
Almost all other arguments to `do_complete` were being passed to the
backend, except for this. Without it, the backend cannot reliably access
the redirect URL in the session state (which is useful if the backend
wants to set the redirect URL, e.g. based on SAML RelayState).
This is the primary use case for RelayState, but the SAML backend did not
previously support this use. Instead, it relied on the Strategy to store
the "next" URL in session state and restore it from there after login.
Unfortunately, in the case of SAML, this does not work if the server has
set the session cookie's `SameSite` attribute to "Lax" or "Strict", as the
SAML POST request from the IdP will not contain the session cookie.

The new `RelayState` format (a JSON object) allows for further
extensibility, as arbitrary additional fields can be added in the future.
…_relay_state

Pass "next" URL through SAML RelayState
updates:
- [github.com/psf/black: 23.10.1 → 23.11.0](psf/black@23.10.1...23.11.0)
…#856)

* feat: add new backend BitbucketDataCenterOAuth2

* abstract away PKCE logic in BaseOAuth2PKCE for reuse

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* abstract away PKCE logic in BaseOAuth2PKCE for reuse

* noqa flake8 line length rule for URLs in comments

* chore: add BitbucketDataCenterOAuth2Test

* chore: abstract PKCE tests in OAuth2PkcePlainTest, OAuth2PkceS256Test

* noqa flake8 line length rule for URLs in comments

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* chore: fix isort errors

* chore: improvements, address review suggestions

* fix: docs URL

* Apply suggestions from code review

Co-authored-by: Johan Castiblanco <51926076+johanv26@users.noreply.github.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Johan Castiblanco <51926076+johanv26@users.noreply.github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
updates:
- [github.com/pycqa/isort: 5.12.0 → 5.13.0](PyCQA/isort@5.12.0...5.13.0)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
updates:
- [github.com/pycqa/isort: 5.13.0 → 5.13.2](PyCQA/isort@5.13.0...5.13.2)
- [github.com/psf/black: 23.11.0 → 23.12.0](psf/black@23.11.0...23.12.0)
updates:
- [github.com/psf/black: 23.12.0 → 23.12.1](psf/black@23.12.0...23.12.1)
- [github.com/macisamuele/language-formatters-pre-commit-hooks: v2.11.0 → v2.12.0](macisamuele/language-formatters-pre-commit-hooks@v2.11.0...v2.12.0)
nijel and others added 30 commits January 10, 2025 09:40
Check more files using built-in rules.
This will give us fine-grained updates for pre-commit.
These are now inside pyproject.toml.
Automated update of shared files from the social-core repository, see
https://github.com/python-social-auth/.github/blob/main/repo-sync.py
I think 10 years of depreciation and getting a warning should be more than enough.
* Log HTTP error response
* Add more detail to logged response

Co-authored-by: Dennis McGregor <cluttering@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.