HomeSoftware Heritage

keycloak: Remove realm direct grant flow override

Description

keycloak: Remove realm direct grant flow override

This was added at the time to workaround token generation when user
has activated 2FA on his account but currently it makes the "swh
auth generate-token" CLI fail.

Looking at the base Direct Grant flow configuration in production,
the 2FA validation step is disabled so better removing that flow
override as user can generate a token regardless 2FA activation
using the base Direct Grant flow.

Details

Provenance
anlambertAuthored on Feb 11 2022, 3:09 PM
anlambertPushed on Feb 11 2022, 3:35 PM
Differential Revision
D7158: keycloak: Remove realm direct grant flow override
Parents
rSPSITEa25099fbc3c9: Add Keycloak role swh.web.search_ql
Branches
Unknown
Tags
Unknown