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.
This documentation is outdated. Please see our REST Contract instead: https://github.com/DSpace/RestContract/blob/main/authentication.md
To authenticate yourself, you have to send a POST request to the
/api/authn/login endpoint with the following parameters: