hi, when inviting users from my widget, the users ...
# ask-a-descoper
v
hi, when inviting users from my widget, the users seem to have expired passwords by default and i need to set/expire the password every time. is there a config i have set wrong?
n
Hey Victor, Couple of things to check here: 1. Password policy: In the Console, check Settings → Authentication Methods → Passwords and ensure Enable Password Expiration is off (or set to a sensible interval). If you use tenants, a tenant-level expiration can override the project; the lowest interval wins. 2. Flow action: Your invite/signup flow may include an Expire Password node. Remove that from the happy path. If you want users to set a password on their first visit, use Update Password instead of expiring. Additionally, please ensure that your code does not invoke the
user/password/expire
API during invitations. If you share the flow name (or a screenshot of the nodes around invite/signup), I can take a look at the exact action that may need to be adjusted.
v
1. password expiration is not on. 2. my flows don't seem to have an expire password node...? i don't know what code would invoke password expiration when i'm using the native widget from descope
n
Looks like the issue is wiring: “Successful authentication” → Replace Expired Password. That sends everyone (incl. ML/OTP users) to the expired-password screen, which makes new invitees look “expired by default.” Fix • Disconnect all Successful authentication (Magic Link/OTP) → route to END. • From Sign In / Password, send only the Password Expired outcome → Replace Expired Password. • If Does user have a password? = No, route to Sign-Up: Set Password (first-time set), not Replace.
v
can you clarify this? • From Sign In / Password, send only the Password Expired outcome → Replace Expired Password.
like this?
what should i do with this then?
n
Correct. Polling should either connect to the end of the flow or a Verified Success Screen.
v
how do i create a verified successfully screen? just build a new screen that says verified successfully?
that wouldn't redirect the user would it.?
i can just do end then after polling i guess
so does this look correct to you now?
i am sending both succesfull auth and polling to end now, and then only password expired sends to replace expired password
n
Correct. A new screen, similar to the one pictured below. This would not redirect the user automatically, but they would be logged into your application once they have been successfully verified, to which they can close the screen and return to the application. Directing to the end should work fine if the user needs to be redirected. Yes, that looks good. Would you like to give it a trial run and let me know how it goes? If there are still any issues, we can step through them.
v
ok thank you yeah i'll test it now
works now thank you