federatedbookkeeping / task-tracking

This repo contains the artefacts tracking work done on the Federated Task-Tracking project, funded by NLnet and the NGI Assure Programme.
2 stars 2 forks source link

Author mapping #25

Open michielbdejong opened 2 weeks ago

michielbdejong commented 2 weeks ago

When syncing between e.g. gh-issues and Jira, if the APIs support it, it would be nice if you could map GH users onto Jira users. This would probably require all the users involved to OAuth-approve the bridge, but would be nice to see it working!

mcalligator commented 2 weeks ago

This should be possible, using OAuth 2,0. In such a scenario, there is no single authoritative IdP, just a mapping between two peer systems. And yes, by design, users would have to approve that for their Jira and GitHub accounts respectively.

michielbdejong commented 1 week ago

Ah, in fact a harder question may be what to do with comments from users whom our script is not allowed to impersonate. It should then probably set the author to 'SyncBot' or 'SyncBot on behalf of Bill Gates'. I'll see how that can work in my Jira-GitHub sync script from milestone 3