Skip to content
Discussion options

You must be logged in to vote

There's no UI switch for this yet. The user form only has an LDAP checkbox, so a manually created account stays auth_method = 'sql' with its password. Logging in once through OIDC links the identity but deliberately keeps sql, so the password keeps working: see the note on shouldUpdateAuthMethod(), "We preserve SQL auth_method to allow users to continue using SQL authentication even after logging in via external providers" (UserProvisioningService.php, v4.5.1).

The SQL edit is small, though. It makes the row look exactly like one that auto-provisioning would have created:

UPDATE users SET auth_method = 'oidc', password = '' WHERE username = 'jdoe';

Why that's enough:

  • Auto-provisioned OID…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@edmondas
Comment options

@maxokoi-53
Comment options

Answer selected by edmondas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants