fission-codes / fission

Fission CLI & server
https://runfission.com/docs
119 stars 14 forks source link

Integrate hs-ucan into the server #593

Open expede opened 2 years ago

matheus23 commented 2 years ago

My thinking of how we can break down this work.

Since hs-ucan is compatible with 0.3 ucans consumer-wise (you can consume 0.3 UCANs, but not produce them), we can do this:

Following that, we can upgrade to ts-ucan in webnative and the auth lobby. And maybe we should already do that in parallel to us upgrading the fission CLI, because otherwise you won't be able to link CLI -> Browser. This is probably not a zero-downtime plan, but I think that's fine, given that this is only "downtime for linking CLI -> Browser".