Giter Club home page Giter Club logo

shrihari-prakash / liquid Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 4.0 13.28 MB

✨ Seamless and highly customizable authentication and user management server for any project. ✨

Home Page: https://hub.docker.com/r/shrihariprakash/liquid

License: MIT License

TypeScript 77.92% CSS 4.76% JavaScript 15.09% HTML 2.14% Dockerfile 0.09%
oauth2 oauth2-server user-management oauth account-management authentication authentication-backend authorization social oauth2-provider

liquid's People

Contributors

dependabot[bot] avatar shrihari-prakash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

liquid's Issues

Implement login history

Is your feature request related to a problem? Please describe.
A collection in mongo db should be populated for each user login. There should be a GET api to retrieve all history for current user.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Implement 2FA

Is your feature request related to a problem? Please describe.
NA
Describe the solution you'd like

  • There needs to be a new api POST /2fa that assigns the flag 2faEnabled and 2faMedium.
  • The 2faMedium flag should contain the mode of 2FA, like email, sms.
  • The availability of the 2FA API should be controlled by option 2fa.email.enabled.
  • If admins want to enforce 2FA, the option 2fa.email.enforce should be set to true.
  • The /login API should not create a session if 2FA is enforced or the user had enabled 2FA. Instead it should send a verification code to email.
  • The /verify-2fa api should be used to post the code sent in previous step. If this phase is success, a session is created.
    Describe alternatives you've considered
    None

Additional context
NA

Create client API for retrieving follow status for a list of targets.

The client API should accepts an array of objects like:

targets: [
    {
        "sourceId": "abcd",
        "targetId": "defg"
    },
    {
        "sourceId": "hijk",
        "targetId": "lmno"
    }
]

and returns the follow status like:

targets: [
    {
        "sourceId": "abcd",
        "targetId": "defg",
        "status": true
    },
    {
        "sourceId": "hijk",
        "targetId": "lmno",
        "status": false
    }
]

Implement logout all sessions

Is your feature request related to a problem? Please describe.
There should be a logout of all sessions feature for logging out incase of catastrophe.

Describe the solution you'd like
Add all sessions and access tokens to Redis when logging in and when request-logout-all request is sent, an email should be sent to the user with a code. On hitting logout-all with the correct code, all the stored sessions and access tokens should be revoked.

Describe alternatives you've considered
NA

Additional context
NA

Implement custom data API

Is your feature request related to a problem? Please describe.
NA

Describe the solution you'd like
There needs to be an API to update custom data for a user ID and also retrieve it.

Describe alternatives you've considered
NA

Additional context
NA

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.