Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Account Manager #105

Open
eyedol opened this issue Dec 2, 2012 · 6 comments
Open

Implement Account Manager #105

eyedol opened this issue Dec 2, 2012 · 6 comments
Labels

Comments

@eyedol
Copy link
Collaborator

eyedol commented Dec 2, 2012

Use Android Account Manager to handle user authentication for the part of the API that requires users authentication

@eyedol
Copy link
Collaborator Author

eyedol commented Mar 25, 2013

@mrl-gt Ping. Anything I can look at? I know you were working on this sometime back

@pdmholden
Copy link
Contributor

Is anyone working on this? If not, I'd be happy to give it a try.

@eyedol
Copy link
Collaborator Author

eyedol commented Jun 7, 2013

@pdmholden @mrl-gt was looking into it. We realized it was quite tricky to use the account manager to handle authentication because of the different Ushahidi deployment out there. So we decided to take a different approach and save the credentials using Preferences.

@inoran Did some preliminary work base on this approach. He used the old HTTP client we were using before. See his commit here https://github.com/inoran/Ushahidi_Android/commit/account_auth.

Perhaps you could pick up from his work?.

@pdmholden
Copy link
Contributor

Will do.

@pdmholden
Copy link
Contributor

Let me confirm what needs to be done:

  1. Switch the current WebClient login mechanism to use the API instead.
  2. Store the user's credentials on the phone.
  3. The user will still use the WebClient to access the admin features of their deployment.

Have I got everything right?

@eyedol
Copy link
Collaborator Author

eyedol commented Jun 9, 2013

@pdmholden Correct.

Yes, they will use the WebClient to access the admin features. We can then use the stored credentials to login via the WebClient so the user shouldn't have to type their credentials to login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants