When your code integrates with OpenID Connect, authentication state can drift. Resetting a branch without considering OIDC can lead to mismatched tokens, invalid sessions, and broken sign-in flows. A git reset --hard can roll back code, but your OIDC configuration, secrets, and integration points may still point to an outdated