Versions Compared

Key

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

For DSpace 7 the REST authentication has been rewritten to use JSON Web tokens instead of Tomcat session ID's. This was done to support stateless sessions. The implementation still uses Spring Security similar to DSpace 6.

Warning

This documentation is outdated. Please see our REST Contract instead: https://github.com/DSpace/RestContract/blob/main/authentication.md


Authenticate

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

...