dominik-th / matomo-plugin-LoginOIDC

external authentication services for matomo
https://plugins.matomo.org/LoginOIDC/
GNU General Public License v3.0
40 stars 29 forks source link

Create new user with your ID and not email #65

Open filhocf opened 2 years ago

filhocf commented 2 years ago

Hi

I'm using your plugin and when I integrate it with my auth server, it create a new user with name.surname@mycompany.com, instead name.surname only.

Is possible when create new user to do it in this way, creating only with login data (name.surname) ?

zarafc commented 2 years ago

We have the same issue. When a user 1st logs the user is registered and the email address is used as the Username. The causes a problem when per-registering users with auto linking enabled. In these cases the user gets the error 'email already exists'.

How can we configure LoginOIDC to force the account name and the Username?

nebulon42 commented 1 year ago

PR in #75.

OlofHerman commented 1 year ago

We also have this issue. Is there any planned release date for the fix?

moschlar commented 1 year ago

I would like to go one step further and have the ability to select an arbitrary userinfo attribute to be used as login (and then, while we're at it, we could also let the email attribute be changeable).