How I could have my custom user store for Orthanc?
for example if I want to have users for Orthanc coming from a rest api? or database?
How I can achieve this specially I want to have my users coming from a rest api. I want that I will authenticate users from rest api instead of config file.
Thank you in anticipation.
Hi,
I don’t have a complete sample for such a setup. You’ll have to code it by yourself.
If you need to limit access rights “per study” or “per patient”, you can implement a login page in a webapp you deploy yourself and store the user/login in your webapp DB and then, have the authorization plugin check the access rights for you.
If you don’t need access control at the study/patient level, you can probably implement some checks in nginx running in front of Orthanc and KeyCloack might be very helpful as well.
Please, share your findings since that would be very useful for many users …
Best regards,
Alain.