GithubHelp home page GithubHelp logo

Issues with Security Features about api HOT 6 CLOSED

staart avatar staart commented on August 24, 2024
Issues with Security Features

from api.

Comments (6)

MP70 avatar MP70 commented on August 24, 2024 1

Thank you for this. In this case is removing the IP restriction view in users from staart-ui a reasonable plan? If a user should always be able to login to thier own account it might remove some confusion.

from api.

issue-label-bot avatar issue-label-bot commented on August 24, 2024

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.91. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from api.

AnandChowdhary avatar AnandChowdhary commented on August 24, 2024

Hi @mattp95, thanks for opening this issue!

I haven't tested IP whitelisting in the live version right now, but the logic is available here in jwt.ts and it's used in the middleware here. It seems like this is only in the API key right now, not users, so I'll make sure I add it there too.

I think it's best to add the IP check when on the organization settings/dashboard, but not the user. Since a user can be part of multiple organizations, they should still be able to edit their profile, change their password, etc., from any IP address, and only be restricted to an IP/CIDR range when they're in their organization.

I'll also have a closer look at the invalidation token. How it works right now is using Redis. The logic for that is available here in jwt.ts. Maybe it could be something to do with your Redis configuration that it's not saving it? Maybe it just doesn't work. I'll have a look. 😄

from api.

FindingAnand avatar FindingAnand commented on August 24, 2024

⚠️ This issue has not seen any activity in the past 2 months so I'm marking it as stale. I'll close it if it doesn't see any activity in the coming week.

from api.

FindingAnand avatar FindingAnand commented on August 24, 2024

⚠️ This issue has not seen any activity in the past 2 months so I'm marking it as stale. I'll close it if it doesn't see any activity in the coming week.

from api.

FindingAnand avatar FindingAnand commented on August 24, 2024

⚠️ This issue has not seen any activity in the past 2 months so I'm marking it as stale. I'll close it if it doesn't see any activity in the coming week.

from api.

Related Issues (20)

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.