-
Notifications
You must be signed in to change notification settings - Fork 45
chore: remove sgid #2394
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
chore: remove sgid #2394
Conversation
| "@hapi/joi": "^17.1.1", | ||
| "@material-ui/core": "^4.11.4", | ||
| "@material-ui/lab": "^4.0.0-alpha.61", | ||
| "@opengovsg/sgid-client": "^2.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing update for package-lock.json?
|
bugbot run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ BugBot reviewed your changes and found no bugs!
BugBot free trial expires on July 22, 2025
You have used $0.00 of your $50.00 spend limit so far. Manage your spend limit in the Cursor dashboard.
Was this report helpful? Give feedback by reacting with 👍 or 👎
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes all SGID-related code and configuration since it is no longer used.
- Deleted SGID service, controller, routes, and client page
- Removed SGID configuration, dependency, and environment variables
- Cleared SGID bindings and exports
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/server/services/sgid.ts | Deleted SGID service implementation |
| src/server/modules/auth/ | Removed SGID login controller and exports |
| src/server/inversify.config.ts | Unbound and removed SGIDLoginController binding |
| src/server/constants.ts | Removed SGIDLoginController symbol |
| src/server/config.ts | Removed SGID-related env config |
| src/server/api/sgidLogin/index.ts | Deleted SGID login API routes |
| src/server/api/index.ts | Unregistered SGIDLogin route |
| src/client/sgidLogin/index.tsx | Deleted SGIDLoginPage component |
| src/client/app/util/types.ts | Removed SGID login route constant |
| src/client/app/components/pages/... | Removed SGIDLoginPage import and route |
| package.json | Removed @opengovsg/sgid-client dependency |
| docker-compose.yml | Removed SGID env var and adjusted port quoting |
Comments suppressed due to low confidence (1)
docker-compose.yml:112
- [nitpick] The quoting style for the port mapping changed from double to single quotes; consider using a consistent style throughout the file for readability.
- '1080:80'
* feat: start writing RedirectionDestination in redis cache (#2407) * chore: remove sgid (#2394) * chore: delete sgid files * chore: remove sgid * chore: update package lock * 1.84.0 --------- Co-authored-by: seaerchin <[email protected]>
Problem
we want to remove sgid cos it's no longer used
Solution
remove any mention of sgid in our codebase