Skip to content

Commit

Permalink
docs: default acr script validation (#8715)
Browse files Browse the repository at this point in the history
* docs: user password validation

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: user password validation

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: user password validation

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: user password validation doc

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: user password validation doc

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: user password validation doc

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: default acr script validation

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: default acr script validation

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: default acr script validation

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: default acr script validation

Signed-off-by: pujavs <pujas.works@gmail.com>

* docs: move the note about cust scripts and add link to docs

* docs: add information about absence of default

* docs: reword the note

Signed-off-by: ossdhaval <343411+ossdhaval@users.noreply.github.com>

* docs: remove the image from update section

Signed-off-by: ossdhaval <343411+ossdhaval@users.noreply.github.com>

---------

Signed-off-by: pujavs <pujas.works@gmail.com>
Signed-off-by: ossdhaval <343411+ossdhaval@users.noreply.github.com>
Co-authored-by: Dhaval D <343411+ossdhaval@users.noreply.github.com>
Former-commit-id: 3784b34
  • Loading branch information
pujavs and ossdhaval authored Jun 28, 2024
1 parent a07e94b commit ff3061d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/admin/config-guide/custom-scripts-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,3 +363,8 @@ For example, in our case; the command line is:
```

That's all for `Custom Script` management with `CLI` feature.

!!! Note

If a custom script that is set as *Default authentication method* is disabled or deleted then the default authentication value will be removed.

25 changes: 24 additions & 1 deletion docs/admin/config-guide/default-authentication-method-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,28 @@ The Janssen Server allows administrators to set and manage the default
authentication method for the authentication server.
The Janssen Server provides multiple configuration tools to perform these tasks.

!!! Note

Only one of the available authentication methods can be set as the default.
While setting the Default authentication method, the Janssen Server
checks if the same authentication is available and active.

See
[script documentation](custom-scripts-config.md#update-an-existing-custom-script)
to know how to enable/disable authentication methods using custom scripts.


If the script is not active then the following error notification is
returned by API.
```{
"code": "400",
"message": "INVALID_ACR",
"description": "Authentication script {acr} is not active"
}
```

Also, to understand how Janssen Server picks the authentication method *in absence* of default authentication method, refer to [ACR documentation](../auth-server/openid-features/acrs.md#flowchart---how-the-jans-as-derives-an-acr-value-for-a-user-session-)

=== "Use Command-line"

Use the command line to perform actions from the terminal. Learn how to
Expand Down Expand Up @@ -150,4 +172,5 @@ authentication method.

Janssen Server Configuration REST API exposes relevant endpoints for managing
and configuring the Default Authentication Method. Endpoint details are published
in the [Swagger document](./../reference/openapi.md).
in the [Swagger document](./../reference/openapi.md).

0 comments on commit ff3061d

Please sign in to comment.