upnext / beaconcontrol_ios_sample_app Goto Github PK
View Code? Open in Web Editor NEWSample iOS application that integrates BeaconControl iOS SDK.
Home Page: https://beaconcontrol.io/
License: BSD 3-Clause "New" or "Revised" License
Sample iOS application that integrates BeaconControl iOS SDK.
Home Page: https://beaconcontrol.io/
License: BSD 3-Clause "New" or "Revised" License
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.