[keycloak-dev] How to set configs for RequiredAction in keycloak-server.json file

Stian Thorgersen sthorger at redhat.com
Mon Jun 27 02:05:13 EDT 2016


"required-action". FIY if you go to the admin console, login, then click on
the menu where you logout there's a server info option. That will list all
available providers and the ids.

On 24 June 2016 at 16:15, Rashmi Singh <singhrasster at gmail.com> wrote:

> Would this type of format work?
>
> "requiredAction": {
>   "test-required-action": {
>     "config1": "xxxx"
>   }
> }
>
> If yes, not sure what should be the name instead of "requiredAction" above
> though
>
>
>
> On Fri, Jun 24, 2016 at 9:01 AM, Rashmi Singh <singhrasster at gmail.com>
> wrote:
>
>> Any clue for this?
>>
>> On Thu, Jun 23, 2016 at 10:40 PM, Rashmi Singh <singhrasster at gmail.com>
>> wrote:
>>
>>> In keycloak-server.json, if we add the following
>>>
>>> "authenticator": {
>>>   "test-authenticator": {
>>>     "config1": "xxxx"
>>>   }
>>> }
>>>
>>> the value of config1 can be retrieved in the factory class init method
>>> as:
>>>
>>> config.get("config1")
>>>
>>>
>>> Now, in the same way, if I want to get configs in the init method of a
>>> RequiredAction class instead of an authenticator, how do I set it in
>>> keyclock-server.json? What will be the exact syntax? Is it possible?
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160627/0b8f5db0/attachment.html 


More information about the keycloak-dev mailing list