On 2017-02-01, Marek Posolda 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?
Or maybe we can just instruct people to use kcreg? In this way we don't
need to worry about copying keycloak.json anymore.
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.
I got the same impression, with the quickstarts. But at the same time,
it's easier for people to see what they did wrong. Instead of providing
it by default. I believe that's the reason why it wasn't added before.
But maybe it's just me?
Marek
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev
--
abstractj