Hi all,
I am really new to mobile development, after going through a lot of tutorials and videos, I am planning to create an app. The problem is that I already have working website (PHP) with databse (MySQL). I was wondering how to implement app authentication without using existing Telerik backend service, or facebook, Google provides.
I was thinking to implement JWT tokens. When user tries to login in, username and password are send to backend and credentials are matches with database records, if they match token is created and sent back to app where it is saved on local storage.After that, all request with have a token in the headers which can be check at the backed.
I want to follow best practice and was wondering if I am on the right path??? Any help will be highly appreciated.
Thanks