kord-network / kord-guardian-examples Goto Github PK
View Code? Open in Web Editor NEWKORD Guardian micro-service examples
License: MIT License
KORD Guardian micro-service examples
License: MIT License
Using the Keybase API sig/post_auth
method.
How can the process of developing a KORD Guardian micro-service be simplified for identity providers that may not have existing infrastructure to verify claims, or the resource to build it?
With this in mind, we should explore available tools and projects that assist the creation of OAuth2 servers and whether a lightweight solution can be provided in the above scenario:
claim: pplId
pplId
claim: twitterid
extraData: { accessToken: String }
accessToken
by attempting GET account/verify_credentials
requesttwitterScreenName
matches returned screen_name
Change claims
=> identity claims
everywhere (docs, code, repo, package.json
etc)
Once library is published to NPM
verifyIdentityClaim
=> https://github.com/meta-network/meta-claims-service/blob/master/index.js#L33-L53createMetaIdentityClaimObject
=> https://github.com/meta-network/meta-claims-service/blob/master/index.js#L70-L95.env
config)Problem
Currently, the META Identity Claims Services that are available to participants in the META Network are maintained at application level ie. the place where they are consumed. For example, the META ID dapp provides an interface to all of the current claims services by maintaining a list of services, some data about each service and the URL to send a verification request to. If another dapp wants to offer a similar interface, it too will have to maintain a similar list. Additionally, whenever new claims services are created they must ask the developers of those dapps to add their service.
Solution
The problems of registering new claims services and maintaining an accurate record of the available services can be solved by introducing a 'marketplace' for claims services to the META network. This marketplace would have an API that allows clients to write and read to the underlying dataset. The API would need to have access control rules, particularly around writes. It could be accessed via an ENS record that points to the latest hash available eg. marketplace.id.meta
.
claim: dpid
companies.xml
to JSONdpid
in registryExample:
<DpidOwner SequenceNumber="3028">
<DPID>PADPIDA20170807093</DPID>
<CompanyName>JAAK Music LTD</CompanyName>
<Address>41 Corsham Street, London, N1 6DR, United Kingdom</Address>
</DpidOwner>
micro-dev
dependencynodemon
dependencystart
script for template and examplesFrom:
"start": "nodemon --exec micro -p 7000",
to:
"start": "micro-dev -p 7000",
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.