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] OpenResty - Orthanc - Keycloak Recipe is not working #3637

Closed
jbocce opened this issue Sep 7, 2023 · 3 comments
Closed

[Bug] OpenResty - Orthanc - Keycloak Recipe is not working #3637

jbocce opened this issue Sep 7, 2023 · 3 comments
Labels
Bug Verified Bug reported, reproducible, and verified.

Comments

@jbocce
Copy link
Contributor

jbocce commented Sep 7, 2023

Describe the Bug

Loosely following this v2 recipe for which the 'source' can be found in platform\app\.recipes\OpenResty-Orthanc-Keycloak, results in a redirect to http://127.0.0.1/notfoundserver when accessing the viewer and an internal server error when navigating to http://127.0.0.1/pacs-admin/.

Steps to Reproduce

Setup

Spin Things Up

  • Navigate to /platform/app/.recipes/OpenResty-Orthanc-Keycloak in your shell
  • Run docker-compose up

Create Your First User

  • Navigate to: http://127.0.0.1/auth/admin
  • Sign in with: admin/password
  • From the top left dropdown, select the Ohif realm
  • From the left sidebar, under Manage, select Users
  • Click Add User
    • Username: test
    • Email Verified: ON
    • Click Save
  • Click the Credentials Tab
    • New Pasword: test
    • Password Confirmation: test
    • Temporary: OFF
    • Click: Reset Password
  • From the top right dropdown, select Admin, then Sign Out

Sign In

Upload Your First Study

  • Navigate to http://127.0.0.1/pacs-admin
  • If you're not already logged in, use test/test
  • From the top right, select "Upload"
  • Click "Select files to upload..." (DICOM)
  • Click "Start the upload"
  • Navigate back to http://127.0.0.1/ to view your studies in the Study List

The current behavior

Everything up to the the "Sign in" step appears to work fine.

The "Sign in" step in results in this page...

image

Attempting to access http://127.0.0.1/pacs-admin/ results in an internal server error...

image

The expected behavior

All the steps should proceed as described in the v2 docs.

OS

Windows 11

Node version

16.14.0

Browser

Chrome 116.0.5845.111

@jbocce jbocce added the Awaiting Reproduction Can we reproduce the reported bug? label Sep 7, 2023
@sedghi
Copy link
Member

sedghi commented Sep 7, 2023

Great description, thanks a lot

@james-hanks james-hanks added the Bug Verified Bug reported, reproducible, and verified. label Sep 11, 2023
@jbocce jbocce removed the Awaiting Reproduction Can we reproduce the reported bug? label Sep 15, 2023
@sedghi sedghi linked a pull request Oct 3, 2023 that will close this issue
5 tasks
@sedghi sedghi closed this as completed Oct 3, 2023
@threehappypenguins
Copy link

I also have this happening, as described here. I honestly don't understand what is happening and if it's a bug (or the same bug) that is described here. I'm attempting this setup with the ohif plugin.

@sedghi
Copy link
Member

sedghi commented Jul 9, 2024

We recently added several recipes for implementing authentication with Keycloak in OHIF. You can find them here:

https://docs.ohif.org/deployment/user-account-control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Verified Bug reported, reproducible, and verified.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants