Skip to content

Bad OAuth2 OpenID Connect management with invalid URL #12432

Open
@fmarcia

Description

@fmarcia

Description

I prepared a new OAuth2 OpenID Connect source with a fake auto-discovery URL and I've got an error 500 after validation but the new source has been saved. I tried to change the fake URL with a more specific one, but still fake. This time, I have got an error specifying the URL is not accessible and the new URL has not been saved.

From there, I could not restard Gitea service (see log where it's specified the URL is not useable) until I removed the faulty source in db.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions