Sorry for the late response...
I added the property "keycloak.profile.feature.scripts_upload=enabled"
The other one does not seem to have any effects anymore
Regards
Pascal Knüppel
--------------------------------------------------------------------------------
Moving discussion to keycloak-user mailing list.
Did you enable the `scripts`feature using system property
`-Dkeycloak.profile.feature.scripts=enabled` ?
Regards.
Pedro Igor
****************************************************
Veranstaltungsvorschau: Besuchen Sie
uns...
11.
Jahrestagung E-Akte | 06. + 07.11.2019 | Berlin<https://jahrestagung-eakte.de/
Kongress e-nrw |
07.11.2019 | Düsseldorf/Neuss<https://www.e-nrw.info/
OMNISECURE | 20.-22.01.2020
|Berlin<https://www.omnisecure.berlin/de/
Zukunftskongress
Staat & Verwaltung |15.-17.06.2020 |
Berlin<https://www.zukunftskongress.info/de/zksv/willkommen
On Mon, Nov 4, 2019 at 7:47 AM Knüppel, Pascal <
Pascal.Knueppel at
governikus.de<https://lists.jboss.org/mailman/listinfo/keycloak-user&g... wrote:
Hi,
I got a simple problem with the scripts upload feature. I created a
jar-file as described here (
and put it into the deployments directory of keycloak. But now the
simple
question... how am I supposed to map these defined script-mappers and
the
authenticator-execution into my configuration within the
admin-console?
the deployment was successful and this is my
"keycloak-scripts.json" file
{
"authenticators": [
{
"name": "authentication-level",
"fileName":
"authentication-level-script-authenticator.js",
"description": "This script determines the
authentication level,
i.e. the authentication method used to identify the user"
}
],
"mappers": [
{
"name": "substitute-roles-mapper",
"fileName":
"substitute-roles-script-mapper.js",
"description": "maps substitute roles into the
access token"
},
{
"name": "authentication-level-mapper",
"fileName":
"authentication-level-script-mapper.js",
"description": "maps the authentication level
into the access token"
}
]
}
my jar file has the following structure:
/
|_ META-INF
| |_keycloak-scripts.json
| |_MANIFEST.MF
|_authentication-level-script-authenticator.js
|_authentication-level-script-mapper.js
|_substitute-roles-script-mapper.js
I can neither find the authenticator nor the mappers in the
admin-console
and I have no idea how to map them...
any ideas?
Best regards
Pascal Knüppel
****************************************************
Veranstaltungsvorschau: Besuchen Sie uns...
11. Jahrestagung E-Akte | 06. + 07.11.2019 | Berlin<
>
https://jahrestagung-eakte.de/
> Kongress e-nrw | 07.11.2019 | Düsseldorf/Neuss<https://www.e-nrw.info/
> OMNISECURE | 20.-22.01.2020 |Berlin<https://www.omnisecure.berlin/de/
Zukunftskongress Staat & Verwaltung |15.-17.06.2020 | Berlin<
>
https://www.zukunftskongress.info/de/zksv/willkommen
_______________________________________________
keycloak-dev mailing list
> keycloak-dev at
lists.jboss.org<https://lists.jboss.org/mailman/listinfo/keycloak-user
________________________________