A little tweak needed, because I had to create a new template since I can use the existing
one, but it works.
Thanks!
Date: Mon, 6 Jun 2016 08:11:02 +0200
Subject: Re: [keycloak-user] Realm Resource Provider
From: sthorger(a)redhat.com
To: palermo(a)pobox.com
CC: keycloak-user(a)lists.jboss.org
You can try
session.getProvider(LoginFormsProvider.class).createForm("template.ftl")
On 1 June 2016 at 16:58, Bruno Palermo <palermo(a)pobox.com> wrote:
Yes, it does. But it uses 'RequiredActionContext' context, how can I have access
to this context inside 'RealmResourceProvider'?
'RealmResourceProviderFactory' create method is:
@Override
public RealmResourceProvider create(KeycloakSession session)
Date: Wed, 1 Jun 2016 15:39:43 +0200
Subject: Re: [keycloak-user] Realm Resource Provider
From: sthorger(a)redhat.com
To: palermo(a)pobox.com
CC: keycloak-user(a)lists.jboss.org
Try looking at the authenticator provider example I believe that does it
On 1 June 2016 at 14:38, Bruno Palermo <palermo(a)pobox.com> wrote:
Hi,
I just create a custom resource provider. It's possible to render a freemarker
template as response?
https://github.com/keycloak/keycloak/blob/master/examples/providers/rest/...
Thanks,
Bruno
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user