Replies: 4 comments 4 replies
-
Store less data in the cookie. Don’t store the entire user object with all the fields. Just store the most required fields like id, email, etc. You can fetch the entire user from db later once you get this if and email from the cookie. |
Beta Was this translation helpful? Give feedback.
-
Looking into the code of remix-auth and remix-auth-email-link it seems the magic-link gets encode twice with crypto-js? |
Beta Was this translation helpful? Give feedback.
-
Hi @pbteja1998 , i guess i found it. Seems since this commit here ( 07796a8 ) all the formData of the request invoking authenticate of the EmailLink-Strategy Authenticator is encrypted into the magicLink. THE PROBLEM: I am also sending google Recaptcha Widget - response data to decide if its ok to process the login/register request. And some additional data. THE TEMPORARY FIX: Stripping as much data from the form that is sent to the action that invokes .authenticate(...) - method POSSIBLE FINAL FIXES:
|
Beta Was this translation helpful? Give feedback.
-
Possible solution: #52 |
Beta Was this translation helpful? Give feedback.
-
Hi out there,
after some time using this awesome auth strategy for remix-auth. i started to run into the following error:
In general i use the latest version of the package.
Any ideas or inspiration on how to fix it is very much appreciated!
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions