Giter Club home page Giter Club logo

bulrush-sso's Introduction

sso flash

This plugin must be dependon bulrush-identify

bulrush-sso

Lightweight sso for Internal security network

The certification process

    1. user request api from web front end of app1
    1. muti ms server use bulrush-sso as plugin to detection of token is valid or not
    1. if token is valid then loading user info from binding table
---------------------------------------
Type           |  uint   
OpenID         |  string 
UnionID        |  string 
UserID         |  uint  
---------------------------------------
    1. if token invalid then redirect(redirect from The front end with callback url to app ms server) to sso server
    1. sso server detect if valid token existed in sso domain, if not then user should login or registered
    1. if sso domain token is valid, then redirect back to callback url in ms server with token, then ms server set token to app1 domain
    1. if sso domain token is invalid, user shoud login in or registered, after authentication process has been finished, sso server set token to sso server domain and redirect back to callback url

As ms server can use bulrush-sso as plugin to get token info, such as userid,OpenID,UnionID in sso server, and establish a bind table from self account to sso account

As ms server can use bulrush-sso as plugin to check token if valid or not

Diff from other sso app design principle

  • sso server and ms server has self account, and they can build relationships by binding table

  • ms server can use self account to establish and relationships with self other tables, that should use rpc to get from sso server if you use other sso application

  • ms server can detect token if valid or not by use the same strategy from sso server, that should use rpc to check from sso server if you use other sso application

Internal security is the premise if you use this plugins

bulrush-sso's People

Contributors

2637309949 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.