openMF / web-self-service-app

Web app for clients to access and directly interact with their own accounts using Apache Fineract Self-Service APIs
http://openmf.github.io/web-self-service-app/
MIT License
33 stars 105 forks source link

Register and Forgot Password Screens not functional #91

Open botraunak opened 6 years ago

botraunak commented 6 years ago

Nothing happens when you submit the forms on the register and forgot password screens!

botraunak commented 6 years ago

Integrate the register self service fineract API

abhaychawla commented 6 years ago

@botraunak Can I work on this issue?

botraunak commented 6 years ago

Sure go ahead, you would have to change the server url to mobile.openmf as the register and confirm apis are available on that server only

abhaychawla commented 6 years ago

Okay!

abhaychawla commented 6 years ago

@botraunak I made the required changes but I keep getting a CORS error on mozilla and a 400 BAD REQUEST error in Google Chrome while trying to make a request and register using the browser. I am unable to resolve this error. Could you please guide me on how this can be resolved? The data being sent via the request body is correct. I have checked.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://mobile.openmf.org/fineract-provider/api/v1/self/registration?accountNumber=000000002&authenticationMode=email&email=abhay.chawla@yahoo.co.in&firstName=Codex&lastName=Draqx&mobileNumber=9871105236&password=Abh0y&username=user1. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).