The support for resource owner password credential (ROPC)flow has been introduced
Introduced support for the resource owner password credential (ROPC) grant, which allows an application to sign in the user by directly handling their password. Could be utilized instead of Basic Authentication which was discontinued in Office 365