Closed Bludvikk closed 1 year ago
Is this error showing up in your server console or your frontend implementation console?
In the server console, I use react hook form and the field values are good, it's just when calling the onSubmit.
Also, I tried to create a user using curl, it was successful, but still cannot login with medusa.auth.
Register and Signing in in the front-end does not work
Figured it out myself, I just added
import "react-native-get-random-values" at the top of the file.
using medusa auth on React Native requires you to import "react-native-get-random-values' at the top of the file.
This issue is resolved. GG
Medusa Client. customers.create() Expo React Native Issue I was trying to implement a function where a user signs-up.
System information
Medusa version Latest: Node.js version: 18 Database: postgresql Operating system: Windows 11 Browser (if relevant):
Steps to reproduce the behavior
Expected behavior
It should redirect to the Home Screen where a session is created.
Screenshots