Enabling an authentication mechanism (or custom script) - maduvena/jans-docs GitHub Wiki
Pre-requisite:
The custom script to be enabled should be present in the jans server.
If not, you should be reading this
Enable an authentication script
Steps:
- Obtain a token, use scope
https://jans.io/oauth/config/scripts.write
curl -u "1800.c60b3b0c-7841-4898-8209-6d5b2305441f:put_config_api_client_secret_here" https://<your.jans.server>/jans-auth/restv1/token -d "grant_type=client_credentials&scope=https://jans.io/oauth/config/scripts.write"
- Enable the script
curl https://<your.jans.server>//jans-config-api/api/v1/config/scripts/name/name_of_the_script
Examples of name_of_the_script that comes Out of the box with the Janssen server.
| Name of the script |
|---|
| smpp |
| otp |
| duo |
| fido2 |
| super_gluu |
| twilio_sms |
| smpp |
| otp |
| duo |
| fido2 |
| super_gluu |