Adding the RunScript Mechanism

Jamf Connect Login can include the RunScript mechanism, allowing you to run scripts after the authentication process.

The RunScript mechanism is not included by default. To add the RunScript mechanism to Jamf Connect Login, do the following:

  1. Execute the following command using the authchanger:

    /usr/local/bin/authchanger -reset -OIDC -preAuth JamfConnectLogin:RunScript,privileged

    Note: If Okta is your cloud identity provider (IdP), replace "-OIDC" with "-Okta".

  2. Add a script to the Jamf Connect Login package, and then use the following preference keys to configure the app for deployment:





    The arguments used with a specified script run by the RunScript mechanism

    Note: The ScriptPath key must bey specified.







    Specifies the path to the script or other executable run by the RunScript mechanism. Only one script can be used with Jamf Connect Login at any time.



Related Information

For related information, see the following sections in this guide:

For related information, see the Customizing the Jamf Connect Login Package with Composer Knowledge Base article.

Copyright     Privacy Policy     Terms of Use     Security
© copyright 2002-2019 Jamf. All rights reserved.