Customize the rest api login authentication method and return token

  1. Customize the rest api login authentication method and return token
  2. Dynamically create a client (can be implemented) and dynamically assign permissions to the client?
  3. In fact, the specific function I want to implement is to use a password to log in to the system in my APP client, rather than having to jump to the web or web-view page
  4. In addition, there is no built-in scheme for automatically issuing tokens after registration