-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
After succesfully building the App, we are trying to login to the BeaconControl server but we are having problems with it. This is the error trace:
Error Domain=com.up-next.BCLBeaconCtrl Code=-10 "<NSHTTPURLResponse: 0x7f891282e040> { URL: http://10.0.1.37/s2s_api/v1/oauth/token } { status code: 401, headers {
"Cache-Control" = "no-store";
Connection = "Keep-Alive";
"Content-Length" = 213;
"Content-Type" = "application/json; charset=utf-8";
Date = "Wed, 22 Jun 2016 22:09:14 GMT";
Pragma = "no-cache";
Server = "WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)";
"Www-Authenticate" = "Bearer realm=\"Doorkeeper\", error=\"invalid_grant\", error_description=\"The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.\"";
"X-Content-Type-Options" = nosniff;
"X-Frame-Options" = SAMEORIGIN;
"X-Request-Id" = "ccf9b94a-0eaa-4a07-ad27-c72c130f0cf0";
"X-Runtime" = "0.543507";
"X-Xss-Protection" = "1; mode=block";
} }" UserInfo={NSLocalizedDescription=<NSHTTPURLResponse: 0x7f891282e040> { URL: http://10.0.1.37/s2s_api/v1/oauth/token } { status code: 401, headers {
"Cache-Control" = "no-store";
Connection = "Keep-Alive";
"Content-Length" = 213;
"Content-Type" = "application/json; charset=utf-8";
Date = "Wed, 22 Jun 2016 22:09:14 GMT";
Pragma = "no-cache";
Server = "WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)";
"Www-Authenticate" = "Bearer realm=\"Doorkeeper\", error=\"invalid_grant\", error_description=\"The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.\"";
"X-Content-Type-Options" = nosniff;
"X-Frame-Options" = SAMEORIGIN;
"X-Request-Id" = "ccf9b94a-0eaa-4a07-ad27-c72c130f0cf0";
"X-Runtime" = "0.543507";
"X-Xss-Protection" = "1; mode=block";
} }, BCLResponseDictionaryKey=<CFBasicHash 0x7f89107ee7a0 [0x1016ada40]>{type = immutable dict, count = 2,
entries =>
0 : error = <CFString 0x7f891073ac80 [0x1016ada40]>{contents = "invalid_grant"}
1 : <CFString 0x7f89107ee8e0 [0x1016ada40]>{contents = "error_description"} = <CFString 0x7f89107f18e0 [0x1016ada40]>{contents = "The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."}
}
}
We are sure the client ID, secret and login / password are correct. Does anybody have an idea o what may be going wrong?
Note: This is with the master branch.
Thank you.
Humberto
Metadata
Metadata
Assignees
Labels
No labels