MRCIEU / ieugwasr

R interface to the IEU GWAS database API
https://mrcieu.github.io/ieugwasr/
Other
76 stars 23 forks source link

Error: Could not authenticate via any gargle cred function #35

Closed showers14 closed 1 year ago

showers14 commented 1 year ago

hello i run command" ieugwasr::get_access_token()"

Using access token. For info on how this is used see logging_info() Waiting for authentication in browser... Press Esc/Ctrl + C to abort Authentication complete. Error: Could not authenticate via any gargle cred function

how to fix this problem? thank you

Hugolyu commented 1 year ago

Hi @showers14 I encountered the same program error problem as you; have you ever solved it now? Could you share your experience solving it? Thank you very much.

explodecomputer commented 1 year ago

Do you need to authenticate? That's only required to access specific private datasets to which you have been granted access. If not, delete the folder called ieugwasr_oauth in your directory, you don't need to run get_access_token().

If you need access to a private dataset let me know

Hugolyu commented 1 year ago

Thanks to your advice, I deleted the ieugwasr_oauth folder and I don't need the private token anymore. I really appreciate your help!