talk icon indicating copy to clipboard operation
talk copied to clipboard

Unable to delete account(OIDC)

Open patrickdung opened this issue 3 years ago • 6 comments

Expected behavior: Account should be deleted.

Actual behavior: The delete window ask user for password. But it's an OIDC user, it do not have a password in Coral system.

Related Issues:

Versions: V6.16.2 container image

  • Browser: Firefox
  • OS: Linux

Client is Windows

The user is created via OIDC -> Auth0 -> GitLab/GitHub User cannot delete their account because there is no password set inside Coral.

image

patrickdung avatar Jan 09 '22 00:01 patrickdung

Also OIDC users are also asked to set password during signup, which should not be the case.

yogeshbeniwal avatar Jan 13 '22 03:01 yogeshbeniwal

For my setting, the OIDC connects to Auth0, and the backend is two OAuth2 providers (GitHub and GitLab). Users were not asked for the password to store in Coral. Besides that, if there is a password, then the UI should have an option for the user to change it, but I can't find it.

Here's my live setup if you want to test

patrickdung avatar Jan 13 '22 05:01 patrickdung

@patrickdung When you use external authentication, changing password is disabled as its not stored in Coral.

yogeshbeniwal avatar Jan 13 '22 05:01 yogeshbeniwal

Thanks for spotting this. We're going to remove this option completely for OIDC, instead you should follow these instructions to use the GraphQL mutation to be part of your account setup https://docs.coralproject.net/gdpr#gdpr-with-sso

losowsky avatar Jun 13 '22 21:06 losowsky

@losowsky Can we pls keep issues open while they are being worked upon for easy tracking.

yogeshbeniwal avatar Jun 14 '22 02:06 yogeshbeniwal

Sure thing, sorry about that

losowsky avatar Jun 14 '22 15:06 losowsky