keycloak on MacOS

支 持 本 站: 捐贈伺服器等運維費用,需要您的支持!

1. download
https://www.keycloak.org/downloads
https://github.com/keycloak/keycloak/releases/download/25.0.2/keycloak-25.0.2.zip

2. start
unzip keycloak-25.0.2.zip
bin/kc.sh start-dev

Updating the configuration and installing your custom providers, if any. Please wait.
2024-08-04 16:48:29,409 INFO [io.qua.dep.QuarkusAugmentor] (main) Quarkus augmentation completed in 2351ms
2024-08-04 16:48:31,518 INFO [org.infinispan.CONTAINER] (ForkJoinPool.commonPool-worker-1) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
2024-08-04 16:48:31,834 INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_15926, Site name: null
2024-08-04 16:48:31,836 INFO [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
2024-08-04 16:48:32,267 INFO [org.keycloak.quarkus.runtime.storage.legacy.liquibase.QuarkusJpaUpdaterProvider] (main) Initializing database schema. Using changelog META-INF/jpa-changelog-master.xml

UPDATE SUMMARY
Run: 134
Previously run: 0
Filtered out: 0
-------------------------------
Total change sets: 134

2024-08-04 16:48:33,404 INFO [org.keycloak.services] (main) KC-SERVICES0050: Initializing master realm
2024-08-04 16:48:34,388 INFO [io.quarkus] (main) Keycloak 25.0.2 on JVM (powered by Quarkus 3.8.5) started in 4.890s. Listening on: http://0.0.0.0:8080. Management interface listening on http://0.0.0.0:9000.
2024-08-04 16:48:34,388 INFO [io.quarkus] (main) Profile dev activated.
2024-08-04 16:48:34,388 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, keycloak, logging-gelf, narayana-jta, reactive-routes, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx]
2024-08-04 16:48:34,391 WARN [org.keycloak.quarkus.runtime.KeycloakMain] (main) Running the server in development mode. DO NOT use this configuration in production.

3. try
http://0.0.0.0:8080/


2024-08-04 16:55:56,892 INFO [org.keycloak.services] (executor-thread-1) KC-SERVICES0009: Added user 'yinlei' to realm 'master' 2024-08-04 16:55:56,892 INFO [org.keycloak.services] (executor-thread-1) KC-SERVICES0077: Created initial admin user with username yinlei


支 持 本 站: 捐贈伺服器等運維費用,需要您的支持!

4 Realm settings
http://0.0.0.0:8080/admin/master/console/#/master/realm-settings

支 持 本 站: 捐贈伺服器等運維費用,需要您的支持!

發布時間: