Skip to content

Add authentication #95

Description

@AdamDarlow

Having authentication would enable multiple features:

  1. Editing interfaces (e.g. manually adding workers) could use the authentication to prevent tampering
  2. Personalized pages such as a list of all of the user's surveys
  3. Other personalization or state-saving features

My preferred approach is to use Login with Amazon as opposed to implementing and storing credentials ourselves. Since TurkGate is meant for use with AMT, users must already have Amazon accounts. The main drawback is that it requires libcurl, according to the examples at http://login.amazon.com/website

If we don't want to require libcurl (in addition to mcrypt that we require now) the Google Identity Toolkit is an alternative that doesn't require any libraries. It provides https://github.com/google/identity-toolkit-php-client that we could include somehow. I think registering the site with Google will be slightly more cumbersome for TurkGate installers. In addition, it's likely but not guaranteed that users have Google accounts they'll want to use with TurkGate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions