Giter Club home page Giter Club logo

beaconcontrol_ios_sample_app's People

Contributors

botmonster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

beaconcontrol_ios_sample_app's Issues

Problem when logging in from the APP

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.