mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 21:10:30 +01:00
OIDC Allowed Users doesn't seem optional anymore #76
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 @codestronger on GitHub (May 24, 2025).
The OIDC docs mention that allowed users is optional, but that doesn't seem to be the case anymore. I took a look at the code in oidc.go checkAllowed() and it seems to confirm that the behavior was changed when adding offline access support (
b815c6f). Anyway, wanted to let you know about the discrepancy. Really cool project btw!@yusing commented on GitHub (May 25, 2025):
Thanks for reminding, I have made the change to revert to old behavior (logical OR) instead of current (logical AND).