Open dewniMW opened 4 months ago
If Identity Server is run with Java 17,
[AdaptiveAuth]
ScriptEngine = "openjdkNashorn"
In addition we need to run adaptive.sh script to download the required dependencies for OpenJDK Nashorn as documented in https://is.docs.wso2.com/en/latest/deploy/enable-adaptive-authentication/
If Identity Server is run with Java 11,
[AdaptiveAuth]
ScriptEngine = "nashorn"
In IS when the default script engine is changed to GraalJS, for custom adaptive authentication functions that are written it is required to add
@HostAccess.Export
. This needs to be documented in the migration docs with the next IS release.