Login pages is not appearing

Hello Everyone,

I’m trying keycloak and it’s not easy :slight_smile:
I’ve a problem with realm login page, login for admin panel is working perfect.
I’m running keycloak with docker-compose.yml

version: '3.3'

services:
    postgres:
       image: postgres:12.2
       container_name: postgres
       environment:
         POSTGRES_DB: keycloak
         POSTGRES_USER: keycloak
         POSTGRES_PASSWORD: password

    keycloak:
      image: jboss/keycloak:10.0.1
      container_name: keycloak
      environment:
        DB_VENDOR: POSTGRES
        DB_ADDR: postgres
        DB_DATABASE: keycloak
        DB_USER: keycloak
        DB_PASSWORD: password
        KEYCLOAK_USER: admin
        KEYCLOAK_PASSWORD: password
        PROXY_ADDRESS_FORWARDING: "true"
      ports:
        - 8080:8080
      depends_on:
         - postgres

    mailhog:
      image: mailhog/mailhog:latest
      container_name: mailhog
      ports:
        - "8025:8025"

I’m starting it with command docker-compose up --build and everything is starting.
After that I’m creating realm with name myapp and I’m not adding any more configuration and I just want to see login page, so I’m opening the link: http://localhost:8080/auth/realms/myapp/protocol/openid-connect/auth
and what I see is We are sorry…

I was looking for some answers in google but I didn’t find any.
Do I need some additional profile config to make it work?

I also watch this but didn’t help https://www.youtube.com/watch?v=duawSV69LDI here it seems working just like that.

Is any body have an idea what I can do?

Best regards!

See: Getting started with Keycloak

1 Like

You’re opening the wrong link, the correct one in your case is http://localhost:8080/auth/realms/myapp/account
The url you’re trying doesn’t work without parameters, it’s just a base url. Eg. http://localhost:8080/auth/realms/myapp/protocol/openid-connect/auth?client_id=account

1 Like