Stream: python
Topic: OAuth2 example for smart-on-FHIR/client-py
Andy Bond (Mar 15 2022 at 06:55):
I'm trying to get my FHIR client code working with a OAuth2 enabled FHIR server. All the examples I have come across says something like ... for a protected server, you need to do something with authorize_uri. Also read a comment that most servers tried raise exceptions. I've got Postman interactions working fine but can't find a way forward in python. Any references appreciated.
Eric Haas (Mar 15 2022 at 19:48):
I would start with requests-oauthlib also look at the smart_client_python and I found these notebooks : https://github.com/Arborian/fhirstorm/tree/master/notebooks
Andy Bond (Mar 16 2022 at 04:05):
Thanks. I'll have a look.
Last updated: Apr 12 2022 at 19:14 UTC