Forum Activity for @nate

nate
@nate
01/21/15 10:32:09AM
917 posts

Proxima Login fail


Installation and Configuration

Will do. Thanks.
nate
@nate
01/21/15 10:21:42AM
917 posts

Proxima Login fail


Installation and Configuration

Quote:I/PaymentActivity﹕ http://n8flex.com/api/user/login?id=16&password=123456
I/PaymentActivity﹕ {"code":400,"text":"Bad Request","note":"invalid password or id"}

It's telling me I have a bad password or ID. Both are correct.
updated by @nate: 03/11/15 08:08:12AM
nate
@nate
01/20/15 09:14:40AM
917 posts

Basic Authentication


Installation and Configuration

Thanks for your patience, B.
nate
@nate
01/20/15 09:09:00AM
917 posts

Basic Authentication


Installation and Configuration

Final question on this. When I switch to session id, do I do the same? Use it for the username and password? Or do I switch to app name?
nate
@nate
01/20/15 08:59:50AM
917 posts

Basic Authentication


Installation and Configuration

I'm in!!!!!!

Boy, is this a load off my mind. I've been really frustrated. I wanna get to the point where I'm not doing things for the first time all the time.
nate
@nate
01/19/15 04:46:14PM
917 posts

Basic Authentication


Installation and Configuration

{"code":404,"text":"Not Found","note":"application not found"}

Does this mean my above authentication is failing?
nate
@nate
01/19/15 11:26:49AM
917 posts

Basic Authentication


Installation and Configuration

If the client key is the username what is the password?
nate
@nate
01/19/15 10:35:22AM
917 posts

Basic Authentication


Installation and Configuration

I'm gonna go with yes.

String credentials = ClientMap.PROXIMA_KEY;

updated by @nate: 01/19/15 10:38:08AM
nate
@nate
01/19/15 10:32:45AM
917 posts

Basic Authentication


Installation and Configuration

Forgive my greeness. Proxima says use the client key as the username. The tutorial I have for android basic auth says use a hash with the password and username.

AndroidHttpClient client = AndroidHttpClient.newInstance("AndroidAgent");
HttpGet request = new HttpGet(uri);
String credentials = username + ":" + password;
String base64EncodedCredentials = Base64.encodeToString(credentials.getBytes(), Base64.NO_WRAP);
request.addHeader("Authorization", "Basic " + base64EncodedCredentials);
HttpResponse response;


Do I drop the password?

updated by @nate: 02/20/15 07:10:54PM
  71