3

I am building a REST based api for my Android app. I use access tokens and basic header authentication currently. Any suggestions to improve the authentication process?

2
  • depends on tons of parameters. are you connecting with any social network? do you want to let users connect with external accounts, like oauth? Commented Oct 4, 2012 at 14:18
  • I have my own apis, I want to ensure that the calls are coming only from my app Commented Oct 5, 2012 at 4:40

2 Answers 2

1

I suggest to use the OAuth protocol to manage API authentication. You can read more about this protocol here: http://oauth.net/.

Sign up to request clarification or add additional context in comments.

Comments

0

+1 ezimuel - "OAuth" is an excellent suggestion.

However, I was surprised to see the link Getting Started with the Tasks API and OAuth 2.0 on Android was deprecated.

Please check out these links:

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.