Looking through the documentation, I did not see any section on authenticating to the fhir api. I wanted to test out a few of the sample requests but I am not sure the auth (0auth2 probably?).
When popping the sample requests into the browser, I am still getting 401 when entering my basic credentials used to sign up.
It should just be a simple authentication with your LOINC username and password. As you are posting to the forum, I assume you are able to log in to loinc.org so surely it’s not a password error. I’d suggest trying a cURL command to issue an authenticated request. It will prompt for a password.
I apologize for the problems. I am unable to reproduce this error. I have tried with a number existing accounts and created a new one specifically to test. All worked successfully with the previous curl command.
Can I have your permission to change the password on your CragVFX account so I may test it directly? (You can update it thereafter, of course.) We did recently change our authentication storage so there’s a chance there could be something amiss with your account.
I was able to get that cURL command to work with your username and a new password. I tried from multiple hosts. I’m going to email you the new password so you may try yourself. After your testing, I suggest changing your password via http://loinc.org/forgot
<div><span style=“color: #383838;”></</span><span style=“color: #800000;”>html</span><span style=“color: #383838;”>></span></div>
</div>
<div></div>
<div>With curl, Postman, direct from browser, all the same. Changed my password, still the same.</div>
I apologize for the problem you are receiving. It seems the issue is with the password. Obviously it is working for you as you are able to log in to this site. Can you please reset/change your password to confirm? https://loinc.org/forgot/
Again no luck. Already changed my pwd, changed it again, now to a pwd containing only letters and digits. Still the 401. The new password works fine on the LOINC website itself.
I can send you my pwd (or maybe you can reset it?) if you mail me at marcdegraauw@gmail.com with an email that does not end in the Forums, so you can try yourself.
I am experiencing the same issue, I am having trouble with the curl command, although I can log in fine via the website I get HTTP 401 - Unauthorized error when I try to connect via curl. I tried resetting the password as you suggested to the users before me but it didn’t help I get the same error (website login still fine)
Hi Bogi, please be sure to use your LOINC username rather than email address as the identity. For instance, I use the following curl command with my username timbriscoe.
I have tried the solution mentioned above but still get a 401. I suspect something might be wrong with my account settings. Could you please check it out?
Hi Tim. How do I access the LOINC panels using python with my login credentials? I see from above it only requires username and not password? I am trying to download all panel templates. I am new to fhir