Developers
  • Docs
  • Resources
  • API
  • Help
  • Blog

›Login with SelfKey

Getting Started

  • About SelfKey
  • KEY Token
  • SelfKey Identity Wallet
  • SelfKey Extension

SelfKey API

  • Overview
  • All Endpoints

SelfKey Marketplace

  • About SelfKey Marketplace
  • Integration Process
  • GUIDE: Exchanges
  • GUIDE: Incorporations

Login with SelfKey

  • About Login with SelfKey
  • Authentication Process
  • Client Configuration
  • Server Implementation
  • GUIDE: Basic LWS
  • GUIDE: Marketplace Only LWS
  • GUIDE: KYC Only LWS
  • GUIDE: Full LWS

Additional Projects

  • SelfKey JSON Schema
  • Staking KEY
  • Decentralized Identifiers (DID)
  • Verifiable Credentials

KYC Only LWS Implementation

KYC Only LWS Implementation


2 - LWS button on KYCC signup/login page (Non-MKT, KYCC)

[ diagram ]

Examples: ICO
Flows:

Signup

RP-Website

Redirects to KYCC signup page

KYCC

1- GET      /auth/challenge                         =>  200: C-JWT              
2- POST /auth/challenge C-JWT + { sig }         =>  200: W-JWT                     [ 400, 401 ]
3- POST /users          W-JWT + { attr }            =>  201                                [ 400, 401 ]
5- GET      /auth/token     W-JWT               =>  200: User Token            [ 401, 404 ]

Login

RP-Website

Redirects to KYCC login page

KYCC

1- GET      /auth/challenge                         =>  200: C-JWT                  
2- POST /auth/challenge C-JWT + { sig }         =>  200: W-JWT                 [ 400, 401 ]
3- GET      /auth/token     W-JWT               =>  200: User Token           [ 401, 404 ]
4 - LWS button on RP Website (Non-MKT, KYCC)

[ diagram ]

Examples: Exchange with basic and verified accounts

Signup

KYCC

1- GET      /auth/challenge                         =>  200: C-JWT
2- POST /auth/challenge C-JWT + { sig }         =>  200: W-JWT      [ 400, 401 ]

RP-UMS

3- POST /users          W-JWT + { attr }            =>  201         [ 400, 401 ]
4- GET      /auth/token     W-JWT               =>  200: User Token         [ 401, 404 ]
 
Login

KYCC

1- GET      /auth/challenge                         =>  200: C-JWT      
2- POST /auth/challenge C-JWT + { sig }         =>  200: W-JWT      [ 400, 401 ]

RP-UMS

3- GET      /auth/token     W-JWT               =>  200: User Token         [ 401, 404 ]

KYC

KYCC

1- GET      /auth/challenge                         =>  200: C-JWT
2- POST /auth/challenge C-JWT + { sig }         =>  200: W-JWT      [ 400, 401 ]
5- GET      /templates                          =>  200: [ templates ]  [ 404 ]
6- GET      /templates/{templateId}schema.json              =>  200: template       
7- POST /files          W-JWT + { file }            =>  200: { fileId }     [ 400, 401 ]
8- POST /applications       W-JWT + { templateId, attr, files } =>  201         [ 400, 401 ]
← PreviousNext →
  • KYC Only LWS Implementation
Developers
Docs
Getting StartedMarketplace IntegrationLogin with SelfkeyAdditional Projects
Resources
View All ResourcesLogin with SelfKey NodeJS SDKSelfkey Developer Twitter
More
SelfKey Developer BlogSelfKey Foundation GitHubStar
Copyright © 2019 SelfKey Foundation