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

Support for basic auth #19

Closed
physikerwelt opened this issue Mar 13, 2021 · 2 comments
Closed

Support for basic auth #19

physikerwelt opened this issue Mar 13, 2021 · 2 comments

Comments

@physikerwelt
Copy link

Does metha support basic-auth authorization?

@miku
Copy link
Owner

miku commented Mar 13, 2021

Yes, I just added a -u admin:admin flag to metha-sync - this is available from 0.2.22 on:

Before that, metha-sync supported -H header:value extra header fields, which would allow you to pass any extra header to the requests, e.g.

$ metha-sync -H "Authorization: Basic $(echo -n user:password | base64)" http://ycc.repo.nii.ac.jp/oai

Hope this helps.

@physikerwelt
Copy link
Author

Amazing. Thank you. I already started writing my own script. However, it crashed already, 500 error... So I am happy to use a already hardened and well tested tool.

physikerwelt added a commit to zbMATHOpen/zbHarvest that referenced this issue Mar 14, 2021
Currly authorization does not work with our infrastructure.

This is odd, because it should work. Maybe the problem is the
self-signed cert again.

See miku/metha#19
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

2 participants