I am creating my first iOS application that will essentially call the RESTful API call that I am creating in PHP / MySQL (Laravel) and show the returned data to the user.
Firstly, I need to create a system for users to register / log in from the iOS application.
I read about oAuth and oAuth2, but got a little confused as I'm not sure if this applies to my situation.
I want to:
1) User to open the application on their iOS device
2), and you will need to log in using the application that calls my API, which in turn checks the user credentials for the MySQL database on the server
What I DO NOT Want:
1) The user must log in through a third-party application (google, facebook, twitter, etc.)
2) The user must be removed from the application to the web page where they must provide credentials and then redirected back to the application.
Is it appropriate in this situation? My impression was that it was used to verify the user only using a third-party service.
EDIT: An example is the ebay app for ios. It has its own user database and allows you to log in and register from the application, rather than using any third-party API for this.
source
share