Skip to content

Oauth2: Not possible to link existing account #8923

Closed
@Shuro

Description

@Shuro
  • Gitea version (or commit ref): 1.11.0+dev-210-g74bb292fe (docker / latest)
  • Git version: 2.22.0
  • Operating system: Vmware PhotonOS (docker)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
    • not possible
  • Log gist:

Description

I migrated my gitea installation to the docker gitea instance, everything works fine so far, except logging in via google Oauth2.

Steps to reproduce:

  1. Visit oauth2 login path: https://git.domain.tld/user/oauth2/Google
  2. log in with google account
  3. redirect back to https://git.domain.tld/user/link_account#
  4. switch to "Link to Existing Account"
  5. Type in Username and press enter

Expected behavior:

  • get asked for user password
  • login
  • oauth2 account bound

Actual behavior:

  • Landing again on https://git.domain.tld/user/link_account# , register tab
  • switch to "Link to Existing Account" reveals the error: "Password cannot be empty."
  • there was and is no password field (see attached screenshot)

Screenshots

Bildschirmfoto_2019-11-11_15-29-49

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions