Skip to content

OAuth2 authentication with Cisco Duo #43

@TineUser

Description

@TineUser

Actual behaviour

We configured OAuth2 authentication with Cisco Duo. When a user is logging in we get this error message:

Warning: Undefined array key "id" in C:\xampp\htdocs\kanboard\plugins\OAuth2\User\GenericOAuth2UserProvider.php on line 260

And we see:

Externe Authentifizierung fehlgeschlagen

We played around with the user ID key and in one situation the new user was created and could log in. But logging in with a already known user failed even if the user ID key and the username key of the logged in user are exactly the same as the already known user.

The already known users came from LDAP login. We want them to be switched to OAuth2.

Expected behaviour

The alreayd known user can authenticate by OAuth2 and new users will be automatically created in Kanboard.

Steps to reproduce

Configuration

  • Plugin version: OAuth2 1.0.2
  • Kanboard version: 1.2.38
  • Database type and version: sqlite 3.33.0
  • PHP version: 8.0.19
  • OS: Windows 10
  • Browser: Firefox 130.0.1, Microsoft Edge (chromium-based)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions