Skip to content

Custom Scripts

Arnab Dutta edited this page Jun 7, 2023 · 8 revisions

Overview

Custom Scripts are used to implement custom business logic for authentication, authorization, client registration, cache refresh, scopes, token revocation etc. The Jans-Auth Server leverages Custom Scripts when implemented can facilitate complex business workflows without changing the auth server code. Admin UI provides the interface to add/edit/delete custom scripts.

image

Custom Scripts fields descriptions

  • INUM: Unique id identifying the script.
  • Name: Name of the custom script. Only letters, digits and underscore are allowed.
  • Description: Description of the script.
  • Select SAML ACRS: The SAML parameter Authentication Context Requests (ACRS).
  • Script Type: The type of the script (e.g. PERSON_AUTHENTICATION, INTROSPECTION, APPLICATION_SESSION, CLIENT_REGISTRATION etc).
  • Programming Language: Programming language of the custom script (e.g. Java and Jython).
  • Location Type: The location of the script, either database or file.
  • Interactive:
Clone this wiki locally