Code Monkey home page Code Monkey logo

Comments (7)

zamananjum0 avatar zamananjum0 commented on June 20, 2024

Hello @martianatwork any update on this...?

from barong.

martianatwork avatar martianatwork commented on June 20, 2024

I have implemented this and working as expected, waiting for someone from openware to show interest.

from barong.

zamananjum0 avatar zamananjum0 commented on June 20, 2024

Hello @martianatwork Can you define me ,how you can validate session from mobile incase of remove the timeout and IP change restrictions.

from barong.

martianatwork avatar martianatwork commented on June 20, 2024

Hey for this we are implementing a sessions section in the frontend where users can see their sessions and have an option to logout from all sessions. Also we have defined a unique user agent for each login on the App so User Agent check is still there, we have also introduced an app_timeout variable which is set to 15 days so the timeout is not removed.

We would have preferred to use a JWT token auth but managing the token state and adding another authoriser will be too much work.

from barong.

FernetB avatar FernetB commented on June 20, 2024

@zamananjum0 Any updates on this? We have the same issue.

@martianatwork did you find a workaround?

from barong.

zamananjum0 avatar zamananjum0 commented on June 20, 2024

@FernetB you can add authorization headers for that device and also set app_timeout on the condition, either is it a mobile app or browser on the base of user agent check.

from barong.

M1chlCZ avatar M1chlCZ commented on June 20, 2024

I would love this, because currently, people are getting logout without any notice. Not sure if it would be possible, but basically after login get some JWT token?

from barong.

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.