Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error Settings Menu for Flow Step #107

Closed
1 task done
T2brozz opened this issue Sep 19, 2022 · 2 comments
Closed
1 task done

[BUG] Error Settings Menu for Flow Step #107

T2brozz opened this issue Sep 19, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@T2brozz
Copy link

T2brozz commented Sep 19, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After copying the Browser Flow and adding the Restrict user authentication on clients , I cant go in settings of this card, because I get the error can't convert undefined to object . In the browser console I see the error

TypeError: can't convert undefined to object                                                    index.4ad08902.js:25:73

Expected Behavior

It should show the Settings UI as described in the Readme

Steps To Reproduce

Using Podman on Coreos:
Dockerfile

          ARG KEYCLOAK_VERSION=19.0.2
          ARG KEYCLOAK_RESTRICTED_CLIENT_AUTH_VERSION=19.0.0
          
          FROM quay.io/keycloak/keycloak:latest
          ARG KEYCLOAK_RESTRICTED_CLIENT_AUTH_VERSION
          
          ENV KC_DB=mariadb
          #ENV KC_FEATURES=declarative-user-profile
          
          RUN curl -fsSL https://github.com/sventorben/keycloak-restrict-client-auth/releases/download/v19.0.0/keycloak-restrict-client-auth.jar \
                -o /opt/keycloak/providers/keycloak-restrict-client-auth.jar
          
          RUN /opt/keycloak/bin/kc.sh build

Service for building the the Image

    - name: keycloak-build.service
      enabled: true
      contents: |
        [Unit]
        Description=Build custom kecloak container with client auth plugin
        Requires=network-online.target
        After=network-online.target

        [Service]
        Type=oneshot
        RemainAfterExit=yes
        ExecStart=/bin/podman build --no-cache -t mykeycloak /var/srv/builds/mykeycloak/
        ExecStop=sh -c 'podman image exists mycaddy && podman rmi --force mykeycloak'

        [Install]
        WantedBy=multi-user.target

Keycloak Service:

       - name: keycloak-app.service
      enabled: true
      contents: |
        [Unit]
        Description=Run keycloak
        Wants=network-online.target
        After=network-online.target
        RequiresMountsFor=%t/containers
        BindsTo=keycloak.service  
        After=keycloak.service

        [Service]
        Environment=PODMAN_SYSTEMD_UNIT=%n
        Restart=on-failure
        TimeoutStopSec=70
        ExecStartPre=/bin/rm -f %t/%n.ctr-id
        ExecStart=/usr/bin/podman run \
          --cidfile=%t/%n.ctr-id \
          --cgroups=no-conmon \
          --rm \
          --pod-id-file %t/keycloak.pod-id \
          --sdnotify=conmon \
          --replace \
          --detach \
          --name keycloak-app \
          --env KEYCLOAK_ADMIN=test \
          --env KEYCLOAK_ADMIN_PASSWORD=test mykeycloak start \
          --hostname=auth.${domain} \
          --proxy=edge \
          --db=mariadb \
          --db-url=jdbc:mariadb:https://keycloak-db.localhost/test \
          --db-username=test \
          --db-password=test
        ExecStop=/usr/bin/podman stop --ignore --cidfile=%t/%n.ctr-id
        ExecStopPost=/usr/bin/podman rm -f --ignore --cidfile=%t/%n.ctr-id
        Type=notify
        NotifyAccess=all

        [Install]
        WantedBy=default.target


Version

- Keycloak: 19.0.2 quarkus
- This extension: 19.0.0

Anything else?

Screenshot from 2022-09-20 00-31-04

@T2brozz T2brozz added the bug Something isn't working label Sep 19, 2022
@sventorben sventorben self-assigned this Sep 20, 2022
@sventorben
Copy link
Owner

Hey @T2brozz,

thanks for reporting this.
It looks like that this is an issue with Keycloak in general, or to be more precise with the new admin console.

There is already a ticket for the Keycloak project: keycloak/keycloak#18057

@sventorben sventorben closed this as not planned Won't fix, can't repro, duplicate, stale Sep 23, 2022
@sventorben
Copy link
Owner

This is fixed within Keycloak keycloak/keycloak#18057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants