mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 11:24:57 -05:00
13 lines
401 B
Plaintext
13 lines
401 B
Plaintext
---
|
|
title: invalid_code
|
|
description: The provided authentication code is invalid or expired.
|
|
---
|
|
|
|
This error occurs when the authentication code is invalid, expired, or cannot be verified.
|
|
|
|
## How to fix
|
|
|
|
* Restart the authentication flow to generate a new code
|
|
* Ensure the code is used only once and within its valid time window
|
|
* Verify that the correct code is being sent to the callback endpoint
|