-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(session-management): WRK-11 Session management #6 #30
Conversation
…-reset related code
…idation decorator
…commands password reset session
…alidation and revoking
…evice detection lib
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
10823152 | Triggered | Company Email Password | 3a5edd0 | libs/core/security/src/lib/password/application/services/password.service.spec.ts | View secret |
10823152 | Triggered | Company Email Password | 64e58c6 | libs/core/security/src/lib/authentication/application/services/password/password.service.spec.ts | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
… blongs to session
…ice instead of token service
… detection of notNull columns
…n user and filtered by status and finding sessions by id
Quality Gate passedIssues Measures |
Description
Session management module and lots of refactors to make session management easier to implement
Refactors and changes
Authentication module is splitted into three more module: PasswordModule, TokensModule, PasswordResetModule
Users library is moved to core group folder from domain folder
Ip Detector Library: geolocation and ip intelligence library to identify clients
Device Detection Library: detecting client device informatoin from user-agent
Pino logger
API Changes
Session Management
GET /users/:id/sessions
- Retrieving the sessions of the user with 'id'GET /@me/sessions
- Retrieving the sessions of the authenticated userDELETE /sessions/:id
- Delete the sessionPOST /sessions/:id/revoke
- Revoke a user's sessionChecklist
Related Issues
Closes #6