We are facing problem while trying to authenticate from phonegap(Cordova/Ionic) based mobile app to odk aggregate server. We have tried both basic and also digest to get the formlist from /formList of our server.
Our app gets the form list from https://opendatakit.appspot.com/formList perfectrly, but it is not being authenticate in our agreegate server where authentication is applied.
We have followed this ( https://bitbucket.org/javarosa/javarosa/wiki/AuthenticationAPI ) approach to connect, but failed
How do you know your app is implementing the spec correctly? Start
there. For example, is basic auth working? Test your app's basic auth
implementation against http://httpbin.org.
Yaw
···
--
Need ODK consultants? https://nafundi.com provides form design, server
setup, in-field training, and software development for ODK.
We are facing problem while trying to authenticate from phonegap(Cordova/Ionic) based mobile app to odk aggregate server. We have tried both basic and also digest to get the formlist from /formList of our server.
Our app gets the form list from https://opendatakit.appspot.com/formList perfectrly, but it is not being authenticate in our agreegate server where authentication is applied.
We have followed this ( https://bitbucket.org/javarosa/javarosa/wiki/AuthenticationAPI ) approach to connect, but failed
Dear
Yaw,
We were trying to authenticate to our aggregate server according to your
input . But we are yet to get success.
I am sending you our authentication process with the URL of our aggregate
server and our code present in Github.
URL of our ODK aggregate server :
And please note that https://opendatakit.appspot.com allows anonymous
access. I.e., accessing forms from that server does not exercise any user
login / authentication mechanisms.
···
On Thu, Oct 29, 2015 at 1:09 AM, Debashish Das wrote:
Thanks Yaw for your response.
Let us try again with basic auth by using the reference given by you.
I will get back to you.
How do you know your app is implementing the spec correctly? Start
there. For example, is basic auth working? Test your app's basic auth
implementation against http://httpbin.org.
Yaw
Need ODK consultants? https://nafundi.com provides form design, server
setup, in-field training, and software development for ODK.
We are facing problem while trying to authenticate from
phonegap(Cordova/Ionic) based mobile app to odk aggregate server. We have
tried both basic and also digest to get the formlist from /formList of our
server.
Our app gets the form list from https://opendatakit.appspot.com/formList perfectrly, but it is not being
authenticate in our agreegate server where authentication is applied.
We have followed this ( https://bitbucket.org/javarosa/javarosa/wiki/AuthenticationAPI )
approach to connect, but failed
Thanks Yaw for your response.
Let us try again with basic auth by using the reference given by you.
I will get back to you.
Regards
Debashish
···
On Thu, Oct 29, 2015 at 1:16 PM, Yaw Anokwa wrote:
Debashish,
How do you know your app is implementing the spec correctly? Start
there. For example, is basic auth working? Test your app's basic auth
implementation against http://httpbin.org.
Yaw
Need ODK consultants? https://nafundi.com provides form design, server
setup, in-field training, and software development for ODK.
We are facing problem while trying to authenticate from
phonegap(Cordova/Ionic) based mobile app to odk aggregate server. We have
tried both basic and also digest to get the formlist from /formList of our
server.
Our app gets the form list from https://opendatakit.appspot.com/formList
perfectrly, but it is not being authenticate in our agreegate server where
authentication is applied.
We have followed this ( https://bitbucket.org/javarosa/javarosa/wiki/AuthenticationAPI ) approach
to connect, but failed
This issue is beyond the level of support that the core team can provide.
I recommend that you set up a network analyzer / protocol sniffer (e.g.,
Wire Shark) to monitor the communications between the device and an ODK
Aggregate server, and the device and your server. That would indicate what
is going wrong in the responses your server is providing.
···
On Mon, Nov 2, 2015 at 2:15 AM, wrote:
Dear
Yaw,
We were trying to authenticate to our aggregate server according to your
input . But we are yet to get success.
I am sending you our authentication process with the URL of our aggregate
server and our code present in Github.
URL of our ODK aggregate server :
This issue is beyond the level of support that the core team can provide.
I recommend that you set up a network analyzer / protocol sniffer (e.g.,
Wire Shark) to monitor the communications between the device and an ODK
Aggregate server, and the device and your server. That would indicate what
is going wrong in the responses your server is providing.
Dear
Yaw,
We were trying to authenticate to our aggregate server according to your
input . But we are yet to get success.
I am sending you our authentication process with the URL of our aggregate
server and our code present in Github.
URL of our ODK aggregate server :