Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 516 Bytes

generate_oauth_token.md

File metadata and controls

20 lines (12 loc) · 516 Bytes

How to generate an Oauth token for reroils users

You can now create a personalized access token for RERO ILS users.

Currently, the access token is used for posting MARCXML documents via the document API only (in testing by NGSCAN/EZPUMP)

To generate an access token for a user:

poetry run invenio utils tokens_create -n name -u [email protected]

To generate pass an access token to a user:

poetry run invenio utils tokens_create -n name -u [email protected] -t access_token