OHDSI / ROhdsiWebApi

An R package for interfacing with a WebAPI instance
https://ohdsi.github.io/ROhdsiWebApi
10 stars 17 forks source link

Authentication using SAML #256

Closed nadavrap closed 1 year ago

nadavrap commented 1 year ago

Hi, In the ROhdsiWebApi::authorizeWebApi function, there are three authentication methods, but none of those are SAML. Is there an option to authenticate using SAML?

gowthamrao commented 1 year ago

Also here https://forums.ohdsi.org/t/is-it-possible-to-authenticate-using-rohdsiwebapi-with-saml/18029/2

if you have signed in to webapi (i.e. atlas login) using ur SAML, then i think ROhdsiWebApi can use “ad” as described here

Full info is Using ROhdsiWebApi with security enabled Atlas/WebAPI • ROhdsiWebApi

Please give it a try - if not please post an issue or contribute code

nadavrap commented 1 year ago

Apparently, what I was facing is SAML but based on Google. So the steps described here worked. Thank you @gowthamrao