12 ms·
It looks like they have an identity provider, so this must support authentication. Link: https://github.com/orbitdb/orbit-db-identity-provider https://github.co
by noworriesnate 7y ago
It looks like they have an identity provider, so this must support authentication. Link: https://github.com/orbitdb/orbit-db-identity-provider https://github.com/orbitdb/orbit-db-identity-provider
What I'd like to know is do they support authorization?
- rudolph9 7y agoI believe it generates a pub/priv key pair and stores it in localstorage.
- vasa_develop 7y agoYup. You can actually extend the Access Control to create your own custom authentication/authorization methods. So, basically you can have any sort of Web 2.0 or Web 3,0 based authentication/authorization methods. Oauth, JWT, DIDs...anything you can imagine. Link to Access Controller: https://github.com/orbitdb/orbit-db-access-controllers#creating-a-custom-access-controller https://github.com/orbitdb/orbit-db-access-controllers#creat...
- markhenderson 7y agoHey thanks for taking a look at this. We support identity providers (the one you linked), and access controllers.[1] Identity providers work by cross-signing an external keypair with the generated OrbitDB key-pairs, and access controllers generally work by exposing a `canAppend` function that facilitates any kind of auth you want to perform. There's support for Metamask for example. OrbitDB is also used _in_ Metamask under the hood by our good friends at 3box.[2] TallyLab, my application project, uses these in its IAM system and you can see the repos here.[3] 1. https://github.com/orbitdb/orbit-db-access-controllers https://github.com/orbitdb/orbit-db-access-controllers 2. https://3box.io/ https://3box.io/ 3. https://github.com/tallylab https://github.com/tallylab