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

Rashmi Singh singhrasster at gmail.com
Fri Jun 24 10:15:17 EDT 2016


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/20160624/01889a34/attachment-0001.html 


More information about the keycloak-dev mailing list