The login endpoint has changed to /core/v1/auth2/login so the current setup no longer works. They've also changed what is returned by the login api call - it is now an object containing an accessToken, refreshToken, and passwordToken, each of which have a property named token.
The login endpoint has changed to /core/v1/auth2/login so the current setup no longer works. They've also changed what is returned by the login api call - it is now an object containing an accessToken, refreshToken, and passwordToken, each of which have a property named token.