farmOS / farmOS-aggregator

A microservice application for aggregating data from multiple farmOS instances.
GNU General Public License v3.0
20 stars 10 forks source link

Authenticate and store credentials for each farmOS URL #5

Closed mstenta closed 5 years ago

mstenta commented 5 years ago

See v1.0.0 roadmap: #1

mstenta commented 5 years ago

Copied from #1:

It may also be a good opportunity to implement an OAuth2 identity provider service within farmOS that we can use to authenticate with, instead of storing raw login credentials.

Relevant issue in the farmOS queue: https://www.drupal.org/project/farm/issues/3034214

paul121 commented 5 years ago

FastAPI should provide all the authentication we will need (features from the project generator we are using listed here)

farmOS credentials can be managed via API at /api/v1/farms/ OR Vue frontend

mstenta commented 5 years ago

farmOS passwords are stored in plaintext

For future reference, here is the feature request for adding OAuth2 to farmOS itself: https://www.drupal.org/project/farm/issues/3034214