on ‎2016 Feb 26 9:49 PM
Hi,
I have created the Fiori app(version 1.28) in web ide and imported into eclipse.
In component.js config, I have mentioned the complete odata service URL without proxy and opening the application in chrome with argument --disable web security.
I Just did some Odata model binding to items aggregation of table in my xml view.
And yes, I am using OData V2 model(auto generated code in models.js), handling of csrf token is by default true.
I can see the calls are fired one to fetch the CSRF token and the other to GET the data in a batch.
But still, I am facing issue that 403 Forbidden. Not able to understand why this is happening. Please find the attached.
Kindly suggest If I have to do any changes either in my UI5 code, OData Service implementation or Gateway configurations.
Thanks in Advance..!!
With Best Regards,
Phaneendra
Request clarification before answering.
Hi Osman,
I think I workarrounded that. I redefined CL_REST_RESOURCE and its IF_REST_RESOURCE~GET method, thus escaping from CSRF cookie problem. This way I don't have any negotiation regarding CRSF, but it worked for my scenario 🙂
BR,
Ivaylo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.