Skip to content

oauth applications show up as failed logins when using ldap #16235

Closed
@johanvdw

Description

@johanvdw

We have a lot of logs like this:

2021/06/23 17:40:52 ...dels/login_source.go:844:UserSignIn() [W] Failed to login '3b5ade80-xxx' via 'ldaphost': user does not exist [uid: 0, name: 3b5ade80-xxx', keyid: 0]

Where the key 3b5ade80-xxx is actually an oauth key (used by droneci).

It is a bit inconvenient, because the large volume hides real issues. It would be better to show this warning only if the login is not found as a token either.

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