How to create a login page with email and password authorization in ionic?

I want to create a login and regsitration page where users will login with username and password in version 2. The login page will also have forget password link. The registration page will have username, email, password input fields. Should I use the ionic-cloud auth service or call my api from a provider. I heard that the ionic-cloud auth service will be deprecated from next year onwards.
Kindly guide.

I think the answer is “We don’t know yet.” Ionic is in talks with other auth providers about taking over that service. No news yet. You could use a different provider, e.g., Firebase, or wait to see what happens with Ionic.

No. As Ionic Auth will definitely be removed, you should probably not invest any more time in it.

Calling your API from a provider/service seems reasonable.