Skip to content

oauth2 login disabled if registration is disabled #2768

Closed
@yannick

Description

@yannick
  • Gitea version (or commit ref):

  • Git version: 1.1.0+655-ga257f88a built with: bindata, sqlite

  • Operating system: macOS

  • Database (use [x]):

    • [ x] SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
    • Not relevant

Description

when i disable registration in config i am not able to login via oauth providers unless the user registerd before.

it should be possible to disable manual registration and only allow oauth2 providers to login/register
also it should be possible to limit e.g. google oauth logins to specific domains only

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions