Skip to content

Limited integration possibility - authentication methods #125

@Sobczaczek

Description

@Sobczaczek

About

This issue comes from OpenAgri-FarmCalendar integration in SIP4's Smart Irrigation Controller application.

Issue

Current authentication solution in FC only allows to be authenticated after successfully passing your credentials using UI form. This is an issue, because currently there is no way to authenticate using only available API - since there are no API endpoints that allows it.

SIP4's application comes with its own database that includes users' details. Current FC design allows only to be accessed using GateKeeper service (which we cannot integrate in our application for various of reasons) or created admin user using Django level command.

Suggested solution

If there are planned works to allow easier integration with FC, we suggest:

  1. Optional no GK's support - which is already implemented but is limited to only creating new users on DJango's Framework commands level. It would be convenient to add API endpoints that will allow users management including registering, editing and removing user instances.
  2. Implementing another authentication method - API Token support. Admin user (or using configuration for FC) can create API Token and use it for access from other services that integrates FC. We would like robot-account like access, so we could operate in FC API from our application backend.

Otherwise, we simply see FC integration in SIP'4 application very demanding and time consuming as it would involve major changes in ADSs' architectures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions