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

Some deployments require auth header to get info. #251

Open
ablack3 opened this issue May 6, 2022 · 0 comments
Open

Some deployments require auth header to get info. #251

ablack3 opened this issue May 6, 2022 · 0 comments

Comments

@ablack3
Copy link
Collaborator

ablack3 commented May 6, 2022

Some deployment require a bearer token to get data from the {baseUrl}/info endpoint while some do not. .checkBaseUrl() is called by lots of ROhdsiWebApi functions and requires this endpoint to work.

I'd like to make a small change that would pass the bearer token when using this endpoint if the bearer token exists. If no token exists then the behavior should be unchanged.

I don't think this will break any current functionality but will allow ROhdsiWebApi to be used in environments where {baseUrl}/info requires a bearer token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant