I have an android app which backs up data on google appengine using cloud endpoints.
I do not use a google account in the user's device to uniquely identify the user. I use a different username (which user chooses initially when signing up) to identify the user.
I tried to use OAuth authentication to authenticate users who make endpoint API calls but it seems that I must use the google account on the android device when calling endpoint API calls, for OAuth authentication to work.
So I decided to add username and password as arguments to all the authentication required endpoint API calls. I store username and password as a SharedPreference when the user signs up or logs in. Then, I use this username and password to make authentication required API calls.
Is there any security issues in this approach? If so, is there any better method?