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

Could the authenticate user function be updated to accept a username and password #84

Open
amishcode opened this issue Jan 15, 2022 · 2 comments

Comments

@amishcode
Copy link

Hi - would it be possible to update the authenticateuser() function so that it accepts a username and password and passes those automatically to the GISAID site (I think this could be done by passing them in the GET request that's already there)? This would allow authentication to occur directly from the function call rather than by having to separately enter the credentials in a browser window that pops up - but I'm not sure if there is some other restriction/reason that would make that not allowed or undesirable.

Thanks,
Amish

@sinabahram
Copy link

+1 to this ask. Understood if user/pass is not a best practice, but then is it please possible to download or copy/paste from the website an oAuth or similar token that can be used in code that must run in headless environments?

@lenorakepler
Copy link

I was able to run headless by installing and authenticating locally, then copying over the authentication token (.R_outbreak-info-token, located in the working directory) to the working directory on the cluster where I wanted the software to run.

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

3 participants