Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Found it out by myself, the first include "jquery-min.js" leads to the error. Probably because it loads the JQuery twice, the first one from the joget source and the second one from my include.
So sorry folks for my fundamental misunderstanding and a big thanks to Anders and Hugo for the help.
Have a great day
Hi, found a similar question at Joget OWASP_CSRFTOKEN in V5
Thanks Anders, I found it also, but isn't there an easier way than implement a secure API? I mean maybe a way to retrieve and post the token via JS?
Hi all,
Simple Question: In my form i'm using the "Custom HTML" field to get a "DateTimePicker" like it was described in an old Thread How to return hh-mm in datepicker field?
So of course the JS leads to a CSRF-Error if i'm trying to submit the form, now is it possible to retrieve the OWASP_Token and POST it in the JS-Section of my HTML?
OR how can i avoid the error without editing the Owasp.CsrfGuard.properties File?
Thanks Everybody!
Can you attach your app or code snippet for us to replicate your said issue first? Thanks.
Hi Hugo, I can't attach a file because of our security policy but i paste the code directly: ----------------------------------------------------------------------------------------------------------------- <!DOCTYPE HTML> <script type="text/javascript" src="/jw/js/jquery/jquery-3.1.1.min.js"></script> <script type="text/javascript" src="/jw/js/jquery/jquery-ui.js"></script> <script type="text/javascript" src="/jw/js/jquery/jquery-ui-timepicker-addon.js"></script> <script type="text/javascript" src="/jw/js/jquery/jquery-ui-sliderAccess.js"></script> <link rel="stylesheet" type="text/css" media="all" href="/jw/css/jquery-ui.css"></link> <link rel="stylesheet" type="text/css" media="all" href="/jw/css/jquery-ui-timepicker-addon.css"></link> <input id="field_date_cja" name="field_date_cja" size="" value="" class="field_date_cja" type="text"> <label class="label">Datum des Issues: <span class="form-cell-validator">*</span></label> <!-- <img title="..." alt="..." src="/jw/css/images/calendar.png" class="ui-datepicker-trigger"> --> <script type="text/javascript"> $(document).ready(function(){ $("#field_date_cja").datetimepicker({ firstDay: 1, dateFormat: "dd.mm.yy", dayNames: [ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" ], dayNamesMin: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ], monthNames: [ "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember" ] }); }); </script>