Skip to Content
0
Apr 22, 2020 at 04:26 PM

SAPUI5 - X-CSRF Validation POST callFunction

710 Views

Hey,

I'm accessing the view of an app through a link in an email. After providing some data I use a POST-CallFunction to post these data to my backend. But I always get the error, that the x-csrf-validation failed.

I tried to capsule it in the refreshSecurityToken-Success-Handler. But it doesn't work.

I also tried to manually read the token via getSecurityToken() - but it always returns undefined.

Any hints how I can solve this issue?

Best regards,

David