Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to verify user: user does not exist [uid: 0, name: OAUTH_USER] #32490

Closed
sebastian-sauer opened this issue Nov 13, 2024 · 2 comments
Closed
Labels

Comments

@sebastian-sauer
Copy link
Contributor

Description

Analysing our gitea log files we see a lot of the following log messages:

routers/web/web.go:121:func9() [E] Failed to verify user: user does not exist [uid: 0, name: OAUTH_USER]

It looks like this is a log in web.go:

log.Error("Failed to verify user: %v", err)

Having an error in the logs for every wrong auth attempt could explode the log files and hide other important messages.

Additional question: is the OAUTH_USER a special user?

Gitea Version

1.22.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Binary + MariaDb

Database

MySQL/MariaDB

@wxiaoguang
Copy link
Contributor

What are the logs around it? Is there any one trying to use "OAUTH_USER" as user name to try to login?

@sebastian-sauer
Copy link
Contributor Author

I only got the error logs for this system and nearly the only output we get is this log message logged multiple times.

But while digging through some other issues i think this is a duplicate of the following issue:

#31470

@go-gitea go-gitea locked as resolved and limited conversation to collaborators Feb 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants