openfoodnetwork
openfoodnetwork copied to clipboard
DFC auth
What is the problem we are solving
The DFC prototype is moving forward. https://github.com/datafoodconsortium
It has reached a stage where it can read information from platforms and link a product from platform A to the same product on a platform B... C etc.
This has been done so far without the practical example of OFN. Now the time has come to eat our own dog's food :)
We need to perform those tasks to help the DFC community:
- Create an OIDC account on http://185.25.192.252:8080/ui/#/x-home
- Find a way to save the token on OFN side (enterprise)
- Manage a catalog of products, with DFC JSON format (with or without Simon's semantic bus.... to be decided)
- Deal with the link between DFC and OFN, through OIDC token
- Decode the token
- Step 1: Get matching user from harcode
- Step 2: Get matching user through email
- Step 3: Get matching user from token saved at OFN side
Success factors = expected outcome
At the end of the epic, we should be able to:
- Import data from OFN (using an authenticated user account) to the DFC prototype
- Get data from the DFC protype to OFN :sunglasses:
This will be tested with a real use case.
Useful information for inception
Discourse post to come