[keycloak-dev] keycloak.json in directory "config" in quickstarts

Stian Thorgersen sthorger at redhat.com
Thu Feb 2 01:06:24 EST 2017


I agree - we can just change the check for the profile to make sure
keycloak.json is in WEB-INF rather than config.

I'm sure there are loads of usability improvements we can do around the
quickstarts, but now is not the right time. So create a JIRA for it.

On 1 February 2017 at 21:34, Marek Posolda <mposolda at redhat.com> wrote:

> In quickstart examples, we want people to put keycloak.json into the
> "config" directory of particular quickstart. Then during build,
> keycloak.json is copyied to src/main/webapp/WEB-INF.
>
> Is it good pattern to do it like this? Can't we just instruct people
> directly to put it into "WEB-INF" folder directly?
>
> I personally found it a bit confusing as the adapter expects config in
> "WEB-INF" folder by default. People may do their own apps and create the
> "config/keycloak.json", but they they may forget to add the profile
> "json" to their pom.xml to copy the file at build time. Then they can
> see issues like "I have folder config and file keycloak.json in it. Why
> Keycloak doesn't secure my app?" etc.
>
> But maybe it's just me?
>
> Marek
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>


More information about the keycloak-dev mailing list