8000 fails to register new user · Issue #4 · dominik-th/matomo-plugin-LoginOIDC · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

This repository was archived by the owner on Nov 11, 2026. It is now read-only.
This repository was archived by the owner on Nov 11, 2026. It is now read-only.

fails to register new user #4

Closed

Description

@blizzz

It seems that this is true when a new user logs in:

if (Piwik::isUserIsAnonymous()) {

Then linkAccount() won't be called and thus no provisioning happens. But perhaps I am missing something?

Activity

  1. blizzz commented on Apr 24, 2019

    @blizzz
    Author

    later, in linkAccount() the matomo user is being fetched through Piwik::getCurrentUserLogin() which yields anonymous. And that does not have view permissions. Is it supposed to work like that?

  2. dominik-th commented on Apr 24, 2019

    @dominik-th
    Owner

    The plugin is not meant to register a completely new user.

    You can link your account when you are logged in and visit the personal settings page.
    Is that what you mean?

  3. blizzz commented on Apr 24, 2019

    @blizzz
    Author

    @dominik-th I am always ending up with the LoginOIDC_ExceptionUserNotFound exception, because the current user is always anonymous.

  4. dominik-th commented on Apr 24, 2019

    @dominik-th
    Owner

    For the linking process you have to be logged in.

    You can find the button on this settings page:
    https://MATOMO_URL/index.php?module=UsersManager&action=userSettings&idSite=1&period=range&date=last30

  5. blizzz commented on Apr 24, 2019

    @blizzz
    Author

    does it not defeat the purpose of SSO when you need to have a local account first?

  6. dominik-th commented on Apr 24, 2019

    @dominik-th
    Owner

    For me it is the convenience as I am logged into my authentication provider anyways and don't have to lookup my matomo password.

    But I agree that we could extend the plugin to allow new users to register.

  7. added a commit that references this issue on Oct 8, 2019
    d799b64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0