Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Login: So what about sending only the username in the login querystring through https + basic https authentication, and receiving the profile (without password) in the response? Commented Jan 29, 2016 at 13:57
  • @MisterSmith: if you want basic auth, you won't need a /login at all. It's sent "on top" of your normal requests. It can be "stateless" too if you want, by submitting your creds on every request. Just be sure to use https and preferably not to put them in the URL. ...Btw, I'm not really familiar with basic auth, it may not be as practical as a usual session login/token. (caching? logout? redirects?). But it's a valid option. Commented Jan 30, 2016 at 8:36