-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CORS Missing Allow Origin #181
Comments
@rrpawar96 @BLasan |
@BLasan, using this PR #182 I can connect to the latest build with no CORS errors. But look at the new developments #180 (comment) |
Cross-Origin Request Blocked: My personal conclusion is that it would be nice to upgrade this repo to Angular since AngularJS has not support for CORS headers |
@francisguchie Hi, Is it possible to connect this application to fineract? because, I can't able to login. I got the same error "{"timestamp":1633262267311,"status":401,"error":"Unauthorized","message":"User not authorised to use the requested resource."}" |
##Description
Currently, client-side scripts (e.g., JavaScript) are prevented from accessing much of the Web of Linked Data due to "same origin" restrictions implemented in all major Web browsers.
While enabling such access is important for all data, it is especially important for Linked Open Data and related services; without this, our data simply is not open to all clients.
If you have public data which doesn't use require cookie or session based authentication to see, then please consider opening it up for universal JavaScript/browser access.
read more here https://www.w3.org/wiki/CORS_Enabled#What_is_CORS_about.3F CORS
##Steps to reproduce
Follow the steps in https://github.com/openMF/web-self-service-app#readme to run a web self service server / app
Make sure your fineract server is up and running MifosX 17.07.01 (NOT the LATEST BUILD it has other issues #180)
##Expected Behaviour
Fineract Should be able to allow Cross Origin Resource Sharing or at least a web application request from your allowed server
##Actual Behaviour
looking at the console logs You will get the following
XHRPOSThttps://yourserver/fineract-provider/api/v1/self/authentication?password=password&username=selfserviceuser
CORS Missing Allow Origin
{"timestamp":1633262267311,"status":401,"error":"Unauthorized","message":"User not authorised to use the requested resource."}
##Settings:
Mozilla Firefox
Microsoft Edge
MifosX 17.07.01
##Screenshots/GIFs, if any:
Please attach screenshots/GIFs of the error/issue.
The text was updated successfully, but these errors were encountered: