-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Mobile/App logins #1231
Comments
Hello @martianatwork any update on this...? |
I have implemented this and working as expected, waiting for someone from openware to show interest. |
Hello @martianatwork Can you define me ,how you can validate session from mobile incase of remove the timeout and IP change restrictions. |
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 We would have preferred to use a JWT token auth but managing the token state and adding another authoriser will be too much work. |
@zamananjum0 Any updates on this? We have the same issue. @martianatwork did you find a workaround? |
@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. |
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? |
I think we should add a
session_type
to the login api.By default it will be
web
andmobile
as second option.Web will follow the basic flow, i.e logout after x minutes or logout after IP change.
Mobile will remove the timeout and IP change restrictions.
In order to provide more security we should introduce a session manager from which user will have an option to logout from all other devices or logout from a specific device.
If this seems like a good idea then i can create a PR in 1-2 days, or please let me know your inputs i will be happy to implement it.
The text was updated successfully, but these errors were encountered: