[keycloak-user] Google social login in
Marek Posolda
mposolda at redhat.com
Mon Feb 1 03:04:39 EST 2016
By default, keycloak uses H2 database with data stored on filesystem
inside $KEYCLOAK_HOME/standalone/data directory. You can switch to other
database by configure datasource in standalone.xml or by switch to Mongo
model (see our documentation for more details).
So unless you delete $KEYCLOAK_HOME/standalone/data directory, the data
should be persistent among restarts.
Marek
On 29/01/16 21:57, Martin Min wrote:
> After I restarted my KeyCloak server, all my realm and applications
> created are gone. Is that because the built-in database H2 doesn't
> persist the data on disk? How to keep the database after I restart the
> keycloak server?
>
> Thanks.
>
> On Fri, Jan 29, 2016 at 1:48 AM, Marko Strukelj <mstrukel at redhat.com
> <mailto:mstrukel at redhat.com>> wrote:
>
> No, localhost should work fine.
> It's not Google's servers, but your browser that connects to this url
> after being redirected from Google. So as long as your browser can see
> it it should work.
>
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160201/88483425/attachment.html
More information about the keycloak-user
mailing list