How can we submit user credentials to a back-end web service for validation in a secured way?
I know of two options:
- Get an SSL certificate and make sure $http.post communications are using https in the endpoint
- Implement Oauth so your app loads a remote login prompt via the web browser and returns a token for future API use
I’m sure there are other ways, but those are just two.
Actually this is a more angular question than ionic and I’m sure you will find a lot of useful resources regarding token-based authorization in angular. Here is the one will get you started.