the front end needs to access the resources that can only be viewed by partial login. Design flow:
the front end encrypts the user name and password entered by the user, then sends the post request to the server
the server compares the authentication information with the database, and then returns an Oauth token
. After that, each front end accesses the authenticated resources and sends the token to the server as a request parameter
this is a bit of a reference to weibo"s API, to achieve this goal of the same project, will there be a better design?