[GH-ISSUE #1654] Deletion of identity provider removes protected resources #8734

Closed
opened 2026-04-30 04:45:31 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @CryptoBull1 on GitHub (Oct 12, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1654

Originally assigned to: @miloschwartz on GitHub.

Describe the Bug

I've been able to replicate this twice now using backups. I previously setup Pocket-Id. I went to delete the ID provider to setup Authentik. As soon as I delete Pocket-Id, all of my protected resources are no longer available.

Environment

  • OS Type & Version: Debian 12
  • Pangolin Version: 1.10.3
  • Gerbil Version:
  • Traefik Version: 3.5.3
  • Newt Version: 1.5.2
  • Olm Version: (if applicable)

To Reproduce

  1. Setup an identity provider.
  2. Create a user and login using the ID provider.
  3. Log out of that user and log in with an admin acct.
  4. Delete the ID Provider and associated user acct.

Expected Behavior

Once you delete the ID Provider, all resources that are protected, disappear. The only way I get them back is to restore from a backup. If I delete the ID provider (that is in the backup), they resources disappear again.

Originally created by @CryptoBull1 on GitHub (Oct 12, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/1654 Originally assigned to: @miloschwartz on GitHub. ### Describe the Bug I've been able to replicate this twice now using backups. I previously setup Pocket-Id. I went to delete the ID provider to setup Authentik. As soon as I delete Pocket-Id, all of my protected resources are no longer available. ### Environment - OS Type & Version: Debian 12 - Pangolin Version: 1.10.3 - Gerbil Version: - Traefik Version: 3.5.3 - Newt Version: 1.5.2 - Olm Version: (if applicable) ### To Reproduce 1. Setup an identity provider. 2. Create a user and login using the ID provider. 3. Log out of that user and log in with an admin acct. 4. Delete the ID Provider and associated user acct. ### Expected Behavior Once you delete the ID Provider, all resources that are protected, disappear. The only way I get them back is to restore from a backup. If I delete the ID provider (that is in the backup), they resources disappear again.
GiteaMirror added the bug label 2026-04-30 04:45:31 -05:00
Author
Owner

@CryptoBull1 commented on GitHub (Oct 12, 2025):

I found that I had selected "Auto Login with External IDP" in the Authentication, Users & Roles section for each of these resources that disappeared. I untoggled that for all, removed the old ID Provider, and they stayed without issue.

<!-- gh-comment-id:3395480730 --> @CryptoBull1 commented on GitHub (Oct 12, 2025): I found that I had selected "Auto Login with External IDP" in the Authentication, Users & Roles section for each of these resources that disappeared. I untoggled that for all, removed the old ID Provider, and they stayed without issue.
Author
Owner

@miloschwartz commented on GitHub (Oct 27, 2025):

Thanks for reporting this! Just updated the schema. This should be fixed in next release.

<!-- gh-comment-id:3452517470 --> @miloschwartz commented on GitHub (Oct 27, 2025): Thanks for reporting this! Just updated the schema. This should be fixed in next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#8734