Skip to content

feature: allows one to connect an OIDC account to an already existing piwigo account#4

Open
vdanjean wants to merge 2 commits intoProximApp:mainfrom
vdanjean:feature
Open

feature: allows one to connect an OIDC account to an already existing piwigo account#4
vdanjean wants to merge 2 commits intoProximApp:mainfrom
vdanjean:feature

Conversation

@vdanjean
Copy link

This feature is useful when previous account already exists.
It can happen when accounts where handled by the ldap plugin and we want to switch to the OIDC plugin.

This commit is based on the previous bugfix

If register_user() fails (existing login, existing email, etc.),
do not record $sub with NULL/empty id
and add error message (in logs and in the webapp for the user that just successully authenticate)
… piwigo account

This feature is useful when previous account already exists.
It can happen when accounts where handled by the ldap plugin and we want to switch to the OIDC plugin.
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.

1 participant