Authenticate with a recovery code
post
Authorizations
defguard_sessionstringRequired
Body
codestringRequired
Responses
200
Recovery code verified, user is fully authenticated.
application/json
Return type needed for knowing if a user came from OpenID flow. If so, fill in the optional URL field to redirect him later.
urlstring · nullableOptional
401
Session is missing or invalid.
application/json
500
Unable to verify recovery code.
application/json
post/api/v1/auth/recovery
Last updated
Was this helpful?