generated from caltechlibrary/template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added generic notes about token handling
- Loading branch information
R. S. Doiel
committed
Jan 27, 2025
1 parent
5b1b3c3
commit 7f57e54
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
When folio is updated we need to regerate the token used by DIBs to access the "okapi". The steps below are what we do at Caltech Library and may reflect a similar setup in your institution. The values in angle brackes should be replaced with your organization's values. | ||
|
||
1. There is a <ADMIN_ACCOUNT> account that has access to Folio's dashboard. Use the URL: https://<YOUR_INSTITUION>.folio.ebsco.com/dashboard | ||
2. On the dashboard login page in very tiny print (below the fold on my monitor) is a password reset link, the <ADMIN_ACCOUNT> account is just like any other library folio account in this regards (we always reset the password since we have access to the associated EMail account) | ||
3. The Folio API DIBs uses os the okapi (I think that is the same as the foliage stuff generally). | ||
4. We have some tools in a private repository that automate generating the new token. They use the Folio API to generate the token. Our `get-api-token` script requires the <ADMIN_ACCOUNT> name and the tenant id found in the "settings.ini" of DIBs. The resulting program generates a file called "okapi-login.json". It needs to have the appropriate permissions for the app to read it. | ||
5. Copy the generated token displayed by `get-api-token` and update the line in DIB's `settings.ini` with FOLIO_OKAPI_TOKEN | ||
6. Restart Apache2 to make sure that DIBs is reloaded and the stale token isn't being used. |