on ‎2021 Aug 19 1:15 PM
I have developed a UI5 program that can update data through OData model.
When it runs locally, there is no problem with GET method and POST method.

However, if I deploy the same program as a HTML5 APP, GET method is OK but POST method occurred 403 error.

It seems like CSRF token is incorrect.
I guess maybe XSUAA changed the value of CSRF token?
because of both local run and postman run always get short tokens,
instead of the long token when deploy and run.
The following are the relevant settings.
Please help me to fix my deployed program, many thanks.
Destination:

xs-app.json:

manifest.json:

Request clarification before answering.
check if these parameters help when you set it to your odatamodel
earlyTokenRequest: true,
tokenHandling: true,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.