-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: wwpass-plugin
Problems
== Inline Script Block
Line: 34
----
<script type="text/javascript">
options = {
'render': 'qrcode',
'ticketURL' : '${app.rootURL}/federatedLoginService/wwpass/getTicket',
callback : function(status, message) {
auth_cb(status, message);
}
};
wwpassQRCodeAuth(options);
</script>
----
== Inline Event Handler
Line: 9
----
<!--<a href="#" style="margin-top:15px;" id="wwpass_button" onclick="token_auth('${it.name}')">
----
== Inline Event Handler
Line: 16
----
<button type='button' id="btn-login" class="button-login" onclick="token_auth('${it.name}')">
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers