Keycloak not identified

Hi @mnazarov,

I am trying to configure keycloak as authentication for my shiny app.
I have a running keycloak instanance in aws ec2 machine as docker and I have a realm and client configured in it.
command used: docker run -p 8081:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin quay.io/keycloak/keycloak:15.0.2

Root URL : http://{machine public ip of ec2 machine}:8080/*
Valid Redirect URIs : http://{machine public ip of ec2 machine}:8080/*

I have the following in my application.yml file
proxy:
port: 8080
landing-page: /
heartbeat-rate: 10000
heartbeat-timeout: 60000
authentication: keycloak
admin-groups: admins
keycloak:
realm: sortimentsrahmen
auth-server-url: http://{machine public ip of ec2 machine}:8081/auth
resource: dps
credentials-secret: {client secret}
docker:
cert-path: /home/none
url: http://localhost:2375
port-range-start: 20000
specs:

  • id: Telephone_Application
    display-name: Telephones by region
    description: Application which shows telephone by region
    container-cmd: [“R”, “-e”, “shiny::runApp(’/root/dps’, host=‘0.0.0.0’, port=3838)”]
    container-image: {image path}

logging:
file:
shinyproxy.log

But when I open my app, it does not take me to the keycloak login url rather it shows me the normal shinyproxy login screen. Simple authentication works perfectly fine.
Could you please help me identify how can I make the shinyproxy app point to my keycloak instance?

Hi, at first sight your configuration looks correct to me. I think the issue that ShinyProxy is not finding your configuration file. The location of the file depends on how you installed ShinyProxy. Can you show us how you installed ShinyProxy (manually, using docker, using rpm/deb …)?

Thanks for the response. It fine for me.