Focal Point
[Solved]WF82 CSRF Token question

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3837058786

September 25, 2017, 11:03 AM
WFDevConsultant
[Solved]WF82 CSRF Token question
We are creating an schedule using REST webservices and the schedule is getting created in the MyContent folder for each users.

Ex: If user "User1" logs in then we create the schedule in
/WFC/Repository/UserSchedule/~User1/MyContent/

The above process is working if we supply the userid and password for each user and get the CSRF token but if I use the service userid and pwd to get the CSRF token, it is not working.

Is there a way to get the CSRF token for logged in user?

How to overcome this issue?

Thanks in advance.

This message has been edited. Last edited by: WFDevConsultant,


8.2.06
Windows, All Formats
September 26, 2017, 01:06 PM
dhagen
What do you mean by "service userid". I has to be a valid WFC defined user id.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
September 27, 2017, 11:27 PM
WFDevConsultant
We found the issue with the permission not with the CSRF token. That is a random generated key and nothing to do with creating the mycontent folder.


8.2.06
Windows, All Formats