Nodejs server uses express and passport to implement login verification on the web side
Can you tell me how to implement it on iOS side (fully implemented with native oc)?
Thank you! ! ! ! !
Ios provides user name and password
If failure returns failure
If the successful server obtains the user ID uid:012345, a JWT is generated according to a private key and the validity period and then sent to the user
Users can log in when they get JWToken ~
Look at this