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

Basic LWS Implementation

Basic LWS Implementation

1 - LWS button on RP Website (Non-MKT, Non-KYCC)

Examples: Any normal website

Flows:

Signup

RP-UMS

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 ]
4- GET      /auth/token     W-JWT       =>  200: User Token                             [ 401, 404 ]
5- POST /login          { token }       =>  200: Custom Redirect/Session       [ 400, 401, 404 ]

Login

RP-UMS

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 - POST    /login          { token }       =>  200: Custom Redirect/Session    [ 400, 401, 404 ]
← PreviousNext →
  • Basic 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