“HTTPS required” while logging in to Keycloak as admin

前端 未结 7 1198
逝去的感伤
逝去的感伤 2021-02-02 09:46

\"enter

I am using Keycloak (version 1.0.4.Final) in JBOSS AS 7.1.1

相关标签:
7条回答
  • 2021-02-02 10:40

    I was running the key cloak inside a docker container, The keycloak command line tool was avaialble inside the keycloak container.

    docker exec -it {contaierID} bash
    cd keycloak/bin
    ./kcadm.sh config credentials --server http://localhost:8080/auth --realm master --user admin
    ./kcadm.sh update realms/master -s sslRequired=NONE
    

    If the admin user is not created, then the user can be created via this command.

    ./add-user-keycloak.sh --server http://ip_address_of_the_server:8080/admin --realm master --user admin --password adminPassword
    
    0 讨论(0)
提交回复
热议问题