Hey guys 👋
We’re implementing TOTP + recovery codes using Descope and ran into a blocker.
We enabled “Enable method in API and SDK” under Recovery Codes, but we’re still unable to:
• Generate recovery codes programmatically (API/SDK)
• Validate/sign in using recovery codes via API/SDK
Right now it still looks like recovery codes are only usable through Flows, which doesn’t work for us since we’re keeping the full auth UX inside our app (no redirects to Descope UI).
Questions:
1. Are recovery codes fully supported via API/SDK today (without Flows)?
2. If yes, what are the exact endpoints / SDK methods for:
• generating codes
• validating codes
(can't find it in the API reference)
Thanks!