Use OAuth2 in your phonegap projects