title: what's the alternative to password grant now that it is deprecated? OAUTH 2.0
body: <ul>
  <li>I have a rest api built in spring boot.
  
  <ul>
  <li>A front end application in react.</li>
  </ul></li>
  </ul>
  
  <p>I have users who should be able to log in and access their information e.g. orders. now in order for users to log in and register I thought it would be a best idea to use OAUTH. I started my research into ouath and found grant password be the perfect case. since the user be able to type in the their credentials (username and password) which goes to api service (also authorisation server) and that can authenticate and token will be passed but then I realised it is deprecated so I want to know whats the best grant type to use where user's username and password is passed for authentication and authorisation. or maybe i am missing something very simple that you guys can point towards.</p>