ceramicstudio / identitylink-services Goto Github PK
View Code? Open in Web Editor NEWServices for issuing verifiable credentials that link a DID to social accounts including Twitter, Github, and Discord
License: MIT License
Services for issuing verifiable credentials that link a DID to social accounts including Twitter, Github, and Discord
License: MIT License
If the verification process fails repeatedly, you can get an Invalid Challenge Token message. I assume from Redis returning a stale entry.
I'd like to do a reverse lookup from alsoKnownAs
, so it would be possible to find an account/DID based on someone's Github or Twitter username.
I initially asked this on Ceramic Discord, where Spencer suggested the following (and to create a feature request here);
"if we changed the way identity-link services worked, we could add a deterministic tile document as part of creating the link that would provide the reverse-link, similar to what caip10link is to the cryptoAccounts definition. This would be a good feature request for identity-link services"
MetaGame uses Discourse as one of its trees for flowing SourceCred. How difficult would it be to add Discourse as a verification option?
There is support for acting as a SSO provider.
The current Verifiable Credential looks like:
{
iat: 1613091180
iss: "did:web:oiekhuylog.execute-api.us-west-2.amazonaws.com"
nbf: 1613091180
sub: "did:3:kjzl6cwe1jw14b66fwpkbtsjr6l12rhtbrp48u0myiooozc0w559sv6e5yty0z4"
vc: {
@context: ["https://www.w3.org/2018/credentials/v1"]
type: ["VerifiableCredential"]
credentialSubject:
account: {
type: "Github"
url: "https://gist.githubusercontent.com/dysbulic/2d6173168e3418d91acb9d83d53f35b6/raw/b342e5b8ab56781dc7adda4af2b693077bcabb84/IDX%20DID"
username: "dysbulic"
}
}
}
}
There are several parts of the VC & JSON-LD specifications are not followed. These include:
issuer
property specifying creator's DIDcredentialSubject
should contain an id
specifying the subject's DID@context
should contain a contextualization for the contents of the account
propertytype
should contain a descriptor for the account
propertyThe issuer and subject are present as the iss
& sub
properties, but I'm pretty sure they're also supposed to be present in the VC in case the JWT wrapper is stripped off in a presentation.
My understanding is JSON-LD's context
is supposed to contain entries for all the elements in the document.
likely needs dependency updates, and owners for both library and supporting infra
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.