-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add CBS/PSI strategy #80
Comments
This includes two use cases
The latter checks given username & password and returns the library (for instance http://uri.gbv.de/organization/isil/DE-7), the account belongs to, so individual accounts are anonymous. Login might be required to be protected against brute-force attack. |
Will not be implemented as part of login-server but as script to be used with #117. |
Currently, a separate API endpoint is in development for us to use for this, so I would much rather implement this as its own strategy instead of using the Script strategy. |
Currently doesn't (or rather can't) confirm that the user actually has write privileges. Also this will likely change before being merged into main. See #80 and gbv/coli-rich-web#1.
To authentificate against the CBS library system.
Basically it's a simple HTTP request
And inspect the returned Header
or
followed by
The user name is hidden in the response XML (XML interface) or HTML (HTML interface).
Configuration via base URL (e.g. https://kxp.k10plus.de/)
URL for the POST request and user URI template can be derived from
url
as{url}/login/LOGIN
and{url}/user/{id}
(the latter not supported as URL by PSI but can be used as URI).The text was updated successfully, but these errors were encountered: