mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-15 21:31:24 -05:00
[GH-ISSUE #1654] Deletion of identity provider removes protected resources #16950
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NickDTrades 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
To Reproduce
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.
@NickDTrades 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.
@miloschwartz commented on GitHub (Oct 27, 2025):
Thanks for reporting this! Just updated the schema. This should be fixed in next release.