OpenMined / syft.js

The official Syft worker for Web and Node, built in Javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change authentication logic to be per-job

vvmnnnkv opened this issue · comments

What?

Currently we authenticate once with model/version supplied in newJob, get worker_id from PyGrid and use it for all jobs.
Instead, we should authenticate for every newJob and store worker_id for given job only.

Why?

Each FL model has own auth settings, hence each job will have individual worker_id that works with corresponding model only.

Breakdown

  • Move authentication into newJob
  • Save worker_id on Job

Additional Context

See https://github.com/OpenMined/PyGrid/issues/628