Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning

This documentation is a historical record for how the REST API authentication was designed and why JSON Web Tokens are used.

While this page may be useful to understand the underlying design, the latest documentation for how to authenticate via the REST API is found in outdated. Please see our REST Contract instead: https://github.com/DSpace/RestContract/blob/main/authentication.md  So, the authentication examples below may be outdated


Authenticate

To authenticate yourself, you have to send a POST request to the /api/authn/login endpoint with the following parameters:

...