Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Content Security Policy (CSP) in APEX 24.2.6 get substitution values in plsql #APEX_CSP_NONCE# #APEX_CSP_HASHES# etc.

Dmitriy TarasovJul 15 2025

Hi,

I generate javascript code in dynamic content region and I would like to get nonce value for my inline script example below does not work

return '<script '||v('APEX_CSP_NONCE_ATTRIBUTE')||'>
    		alert("Test");
		</script>';

article on CSP

https://docs.oracle.com/en/database/oracle/apex/24.2/aeadm/using-csp-in-apex.html#GUID-3FC15932-F504-4CC5-A38C-EF82138BD84A

Thanks

Comments
Post Details
Added on Jul 15 2025
2 comments
62 views