HomeSoftware Heritage

django/utils: Add KeycloakOpenIDConnect factory function

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

Description

django/utils: Add KeycloakOpenIDConnect factory function

Add keycloak_oidc_client factory to instantiate KeycloakOpenIDConnect
class from the following django settings:

  • KEYCLOAK_SERVER_URL
  • KEYCLOAK_REALM_NAME
  • KEYCLOAK_CLIENT_ID

This is required before moving the generic django OIDC auth backends
from swh-web to swh-auth.

Details

Provenance
anlambertAuthored on Mar 24 2021, 3:28 PM
anlambertPushed on Mar 24 2021, 4:59 PM
Differential Revision
D5318: django/utils: Add KeycloakOpenIDConnect factory function
Build Status
Buildable 20174
Build 31318: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.