OAuth based authentication for Ionic Apps