In order to authenticate on mobile applications, you'll need to create an REST API and authenticate using
Token Authentication or OAuth2 Authentication (Social Media: Google, Facebook, Twitter, etc.). How Token Authentication works is you will create an REST API on a Secure HTTP site with a route to a built-in view that sends the user's token. You can keep the Token saved for the duration of the session within the mobile app and it will prevent the user from logging out.