Skip to content

Hide the password form when local auth is disabled - #1569

Open
DavidMStraub wants to merge 2 commits into
gramps-project:mainfrom
DavidMStraub:hide-password-form-without-local-auth
Open

DavidMStraub wants to merge 2 commits into
gramps-project:mainfrom
DavidMStraub:hide-password-form-without-local-auth

Conversation

@DavidMStraub

@DavidMStraub DavidMStraub commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

When OIDC is enabled with disable_local_auth, users sign in only through the identity provider and have no password to change. The user settings page now reads /api/oidc/config/ and hides the "Change password" section in that case. The form is shown when the config request fails or OIDC is off.

Shows a hint under "Full Name" and "E-mail" in the user settings while an OIDC account is linked, since the identity provider may overwrite these fields at each sign-in.

Fixes #953.

When OIDC is enabled with disable_local_auth, users have no local
password, so the user settings page no longer offers to change it.

Partially addresses gramps-project#953.

This branch has not been deployed

No deployments
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.

Change e-mail and change password should not be present when local auth is disabled

1 participant