Integrate ODK with Drupal site


(Vinod k c) #1

Hi,
Is there any API to integrate Drupal and ODK. Otherwise is it possible to
give a common login to Drupal and ODK using OAuth2.


(Yaw Anokwa) #2

Vinod,

Nothing specific exists, I think.
https://opendatakit.org/use/aggregate/data-transfer/ gives you a sense
of your options.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Wed, Jul 1, 2015 at 12:31 AM, Vinod k c vkc.006@gmail.com wrote:

Hi,
Is there any API to integrate Drupal and ODK. Otherwise is it possible to
give a common login to Drupal and ODK using OAuth2.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mitch S) #3

Not without Java code changes and configuration changes.

In this case, you can use the oob_user_fetcher mechanism to provide the
OAuth2 user credential to the system.

https://code.google.com/p/opendatakit/source/browse/src/main/resources/mysql/odk-settings.xml?repo=aggregate&name=uiexperiment

This is used by the Spring security framework
https://code.google.com/p/opendatakit/source/browse/eclipse-aggregate-gae/war/WEB-INF/applicationContext-security.xml?repo=aggregate&name=uiexperiment#388
to handle cases like this.Those classes are used in GAE deployments to
integrate in with the Google UserService mechanisms (e.g., for OAuth-based
publishing of form definitions from ODK Build, back when that was working).

··· On Wed, Jul 1, 2015 at 9:08 AM, Yaw Anokwa wrote:

Vinod,

Nothing specific exists, I think.
https://opendatakit.org/use/aggregate/data-transfer/ gives you a sense
of your options.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Wed, Jul 1, 2015 at 12:31 AM, Vinod k c vkc.006@gmail.com wrote:

Hi,
Is there any API to integrate Drupal and ODK. Otherwise is it possible
to
give a common login to Drupal and ODK using OAuth2.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com