getodk / aggregate

ODK Aggregate is a Java server that stores, analyzes, and presents survey data collected using ODK Collect. Contribute and make the world a better place! ✨🗄✨
https://docs.opendatakit.org/aggregate-intro/
Other
74 stars 228 forks source link

Authenticate users by checking ODK Database #424

Closed guxiaowei closed 5 years ago

guxiaowei commented 5 years ago

Software and hardware versions

Windows/Linux/macOS, Aggregate v1.x.x, Java vx.x.x, ...

Problem description

Hi there,

I would like to authenticate my current ODK users from another mini web-app by directly checking the ODK db.

How do I generate the digest hash that is saved on _registered_users table? I'm not sure in what java files ODK generates the hashes,, whether it uses some salt.

and i want to know where the code control user authentication in odk aggregate

Thanks,

ggalmazor commented 5 years ago

Hi, @guxiaowei!

Support questions like the one you have should be sent to the Support forum. Please, open a new topic there so that the answer can help other users as well.