Next-gen identity server replacing your Auth0, Okta, Firebase with hardened security and PassKeys, SMS, OIDC, Social Sign In, MFA, FIDO, TOTP and OTP, WebAuthn, passwordless and much more. Golang, headless, API-first. Available as a worry-free SaaS with the fairest pricing on the market!
I need to programmatically lock/unlock a user account. This is a normal practice in multiuser system. Then admin or support unlocks the account after user request
Describe your ideal solution
Add a a boolean field locked into table identities
Add two admin methods to lock/unlock the identity by setting/clearing this field
Workarounds or alternatives
I see another field called active. It is used to describe a state and prevent login before confirming email. This could be used to add a state = locked, but I still prefer to add a new boolean field locked.
Preflight checklist
Ory Network Project
No response
Describe your problem
I need to programmatically lock/unlock a user account. This is a normal practice in multiuser system. Then admin or support unlocks the account after user request
Describe your ideal solution
locked
into tableidentities
Workarounds or alternatives
I see another field called
active
. It is used to describe a state and prevent login before confirming email. This could be used to add astate = locked
, but I still prefer to add a new boolean fieldlocked
.Version
master
Additional Context
No response