diff --git a/src/content/docs/get-started/guides/error-codes.mdx b/src/content/docs/get-started/guides/error-codes.mdx index 8a3724473..41f0b5db7 100644 --- a/src/content/docs/get-started/guides/error-codes.mdx +++ b/src/content/docs/get-started/guides/error-codes.mdx @@ -190,6 +190,20 @@ Description Troubleshooting - Check the secret being used with your social provider and ensure that it hasn't expired +## Error code 4321 + +Description +- This error typically occurs when a user attempts to access an authentication flow from a mid-step URL instead of starting from the beginning. +- Reasons this error may occur: + - A bookmarked or previously used URL is reused + - A step-specific URL is shared directly + - The user navigates back or forward in the browser and skips required steps in the flow + +Troubleshooting +- Ask the user to restart the login flow from the main entry point, such as your app’s login page +- Clear browser cookies and cache before retrying +- Avoid using any bookmarked or shared login URLs + ## Error code 4617 Description