Skip to content

Restricted claim is ignored on account creation #35924

@MandoCSGO

Description

@MandoCSGO

Description

The "Is Restricted" checkbox is not set during account creation because the user's OIDC claim is ignored. It is only applied on subsequent logins.

This only happens when ENABLE_AUTO_REGISTRATION is set to false under oauth2_client.

Gitea Version

1.25.1

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?

Docker Image (gitea/gitea:1.25.1)

Database

PostgreSQL

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