I attched the jar file
****************************************************
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
Von: Pedro Igor Silva <psilva(a)redhat.com
Gesendet: Donnerstag, 7. November 2019 13:11
An: Knüppel, Pascal <Pascal.Knueppel(a)governikus.de
Cc: keycloak-user(a)lists.jboss.org
Betreff: Re: [keycloak-user] [keycloak-dev] scripts-upload feature
Could you please share your JAR file?
On Thu, Nov 7, 2019 at 4:38 AM Knüppel, Pascal
<Pascal.Knueppel@governikus.de<mailto:Pascal.Knueppel@governikus.de>> wrote:
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<http://governikus.de><https://lists.jboss.org/mail...
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<http://lists.jboss.org><https://lists.jboss.org/...
________________________________
_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org<mailto:keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user