You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing an issue when sending a magic link to a user's email. While the magic link is generated, the process simultaneously throws an error with the message: "Please wait for one minute before sending new link."
Upon reviewing the logs, it appears that the Lambda function create-auth-challenge is being invoked twice.
Could you provide guidance or a resolution for this issue?
The text was updated successfully, but these errors were encountered:
Sounds like you are actually invoking initiateAuth twice. Perhaps a React hook in strict mode. But that's guessing. Can you tell us how we can reproduce this?
Application is implemented using SvelteKit rather than React. Upon reviewing the application logs, I confirmed that the requestSignInLink method is being invoked only once by the web application. Is there be anything internally that could be the cause of twice invoking of that lambda.
However, despite receiving the magic link, I am unable to log in with it. Upon reviewing the logs further, it appears that the verifyMagicLink method is not being triggered during the login attempt.
Could you provide guidance on what might be causing this issue? Are there specific configurations, middleware, or conditions that could prevent the verifyMagicLink method from being invoked? Any suggestions for further troubleshooting would be greatly appreciated.
I''m sorry mate that's too little information to help you. Perhaps you can share a HAR file so we can look at the AJAX requests that actually go to Cognito.
Also please share how you are invoking the library--give us something to work with please.
Hi.
I am experiencing an issue when sending a magic link to a user's email. While the magic link is generated, the process simultaneously throws an error with the message: "Please wait for one minute before sending new link."
Upon reviewing the logs, it appears that the Lambda function create-auth-challenge is being invoked twice.
Could you provide guidance or a resolution for this issue?
The text was updated successfully, but these errors were encountered: