Deleting single linked account will delete all linked accounts #1880

Closed
opened 2025-11-02 04:16:20 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @vbrandl on GitHub (Jun 6, 2018).

  • Gitea version (or commit ref): e5fd43c
  • Git version: 2.15.2
  • Operating system: Debian9 (Gitea is running inside 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

Description

I enabled several OAuth2 providers for my gitea instance (namely GitHub, GitLab and BitBucket) and connected my gitea account to all three of these. When deleting any of the three linked accounts, the other two will also be deleted. The expected behaviour would be to only delete the one account, I want to remove.
Currently I cannot test this on try.gitea.io since there is only one OAuth2 provider enabled.

Originally created by @vbrandl on GitHub (Jun 6, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): e5fd43c - Git version: 2.15.2 - Operating system: Debian9 (Gitea is running inside Docker) - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant ## Description I enabled several OAuth2 providers for my gitea instance (namely GitHub, GitLab and BitBucket) and connected my gitea account to all three of these. When deleting any of the three linked accounts, the other two will also be deleted. The expected behaviour would be to only delete the one account, I want to remove. Currently I cannot test this on try.gitea.io since there is only one OAuth2 provider enabled.
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 04:16:20 -06:00
Author
Owner

@stale[bot] commented on GitHub (Jan 24, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 24, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1880