HomeSoftware Heritage

keycloak: Fix issue in authorization_url since python-keycloak 1.8.1

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

keycloak: Fix issue in authorization_url since python-keycloak 1.8.1

The scope and state query parameters in the authorization URL are now
handled by the KeycloakOpenID.auth_url method since the release of
python-keycloak 1.8.1.

To keep backward compatibility with older python-keycloak versions, like
the one used in production, while ensuring support for recent ones we need
to ensure scope and state query parameters will be overridden if provided
in extra_params dict.

Details

Provenance
anlambertAuthored on Jul 15 2022, 2:56 PM
anlambertPushed on Jul 15 2022, 4:15 PM
Differential Revision
D8125: keycloak: Fix issue in authorization_url since python-keycloak 1.8.1
Build Status
Buildable 30434
Build 47575: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.