Download OpenAPI specification:Download
The Authentication API is an HTTP API served by the Invenio gateway providing endpoints to generate and refresh JSON Web Tokens, which are the main authentication mechanism across other Invenio APIs.
This documentation is for version 1.0 of the API. Use this table to find documentation for previous versions of the API:
API Version | Changes |
---|---|
Latest | None |
1.0 | None |
API View that receives a POST with a user's username and password. Returns a JSON Web Token that can be used for authenticated requests.
username required | string |
password required | string <password> |
OK
BAD REQUEST: Unable to log in with provided credentials.
Permissions not assigned to user
API View that returns a refreshed token (with new expiration) based on existing token
token required | string <byte> Your current, valid and non-expired, token |
OK
Bad Request
Signature Expired