Git Product home page Git Product logo

easy-auth-api's People

Contributors

joehua87 avatar

Watchers

 avatar  avatar

easy-auth-api's Issues

Social Auth

  • Facebook
  • Google
  • Verify that user on social network (server check) #2

Strategy to check if token is valid or not

Problem:

  1. User A has the token XXX (which is valid) for application App-01
  2. For some reason, App-01 want to immediately revoke the token from user A

We can utilize expire time on JWT itself (example use case: monthly subscription)

Solution 1:

  • Update User A status for App-01 on Auth-Server
  • Auth-Server will send a request to App-01 to let App-01 know that User A token is revoke
  • App-01 will check if User A token is valid (on App-01 database instead of Auth-Server's database)

Solution 2:

  • Update User A status for App-01 on Auth-Server
  • App-01 must connect to Auth-Server to check if the token is still valid?

References

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.