there is no mechanism to “sync” users from the OIDC IdP. this is simply not part of the protocol. new users are automatically created (if allowed) and attributes are updated on each (fresh?) login… but they would remain forever on NC side if they don’t login anymore… IMHO best approach would be to handle user retirement in your provisioning scripts - at the time you disable/remove the user on IdP do the same on NC using API or occ otherwise you could perform periodic cleanup according to “last login” attribute