I'm new to Wordpress. I'm working on an application that takes in user information and checks it on my website. If the user exists, continue, else, Quit. I know this is possible with REST api but use in production environment is discouraged because it sends username and password every time.
I need a safe way of authenticating to my site and receiving Username and User ID in my Application (Java). Please help me!
(If I've missed anything please let me know I will update my question)