mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-06 06:49:53 -06:00
Clean up feature IDs in the docs (#27418)
Closes #27416 Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
committed by
GitHub
parent
d00ef12333
commit
4b697009d3
@@ -249,6 +249,10 @@ bin/kc.[sh|bat] build --spi-user-cache-infinispan-enabled=false
|
||||
[[_script_providers]]
|
||||
=== JavaScript providers
|
||||
|
||||
:tech_feature_name: Scripts
|
||||
:tech_feature_id: scripts
|
||||
include::./templates/techpreview.adoc[]
|
||||
|
||||
{project_name} has the ability to execute scripts during runtime in order to allow administrators to customize specific functionalities:
|
||||
|
||||
* Authenticator
|
||||
@@ -373,7 +377,8 @@ my-script-mapper.js
|
||||
|
||||
The `META-INF/keycloak-scripts.json` is a file descriptor that provides metadata information about the scripts you want to deploy. It is a JSON file with the following structure:
|
||||
|
||||
```json
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"authenticators": [
|
||||
{
|
||||
@@ -404,7 +409,7 @@ The `META-INF/keycloak-scripts.json` is a file descriptor that provides metadata
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
----
|
||||
|
||||
This file should reference the different types of script providers that you want to deploy:
|
||||
|
||||
@@ -442,7 +447,6 @@ The name of the script file. This property is *mandatory* and should map to a fi
|
||||
==== Deploy the script JAR
|
||||
|
||||
Once you have a JAR file with a descriptor and the scripts you want to deploy, you just need to copy the JAR to the {project_name} `providers/` directory, then run `bin/kc.[sh|bat] build`.
|
||||
Note that you also need to enable the `scripts` feature.
|
||||
|
||||
=== Available SPIs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user