Answered
Feature Request: Upgrade Identity Provider Scripting Engine to ECMAScript 6 or Later
Feature Request: Upgrade Identity Provider Scripting Engine to ECMAScript 6 or Later
Summary
As an engineer, I would like the identity provider scripting tool to support a modern version of JavaScript (ECMAScript 6 / ES2015 or later), replacing the current ECMAScript 5 (2009) constraint.
Background
The identity provider scripting tool currently restricts scripts to ECMAScript 5 (2009). This significantly limits what can be expressed in the authentication scripts and forces workarounds that reduce readability, maintainability, and performance.
Upgrading to ECMAScript 2025 would be ideal. At a minimum, ECMAScript 6 (2015) would provide meaningful, measurable improvements.
Impact of Upgrading to ECMAScript 6+
| Feature | Benefit |
|:---:|:---:|
| Promise.all() | Parallel execution of auth requests — estimated 5x reduction in authentication time |
| for...of, Map, Set | Eliminates complex workarounds; significantly reduces script size and complexity |
| Arrow functions, const/let, template literals | Improves readability and reduces surface area for bugs |
[ECMAScript Version History — W3Schools](https://www.w3schools.com/js/js_versions.asp)
[Targit OpenID Script Samples](https://community.targit.com/hc/en-us/articles/10737339128989-OpenID-script-samples)
6
Comments
Hi Nic,
According to my development team, it should support up until ECMAscript 2023.
BR / Ole
Please sign in to leave a comment.