Merge pull request #12 from UOR-Internship-Management-System/feature/… - #13
Merged
Merged
Conversation
…sprint-2-auth-integration-fixes ## Summary Implements the Sprint 2 authentication backend for Student onboarding, Student/Admin login, password reset, JWT session handling, RBAC, audit/security events, and Flyway-backed persistence. ## What changed - Added Student auto-verification and OTP-based onboarding flow - Added Student initial password creation after OTP verification - Added Student and predefined Admin login - Added shared OTP-based password reset for Student and Admin accounts - Added `/auth/me` and logout support - Added JWT/RBAC security wiring for Student/Admin access - Added authentication-related Flyway migrations and safe seed/provisioning support - Added backend tests for auth flows, security guardrails, removed-scope checks, and migrations ## Verification - `./mvnw.cmd test` - Flyway migration test against PostgreSQL passed - Removed-scope guardrail tests passed ## Scope notes This PR is limited to Sprint 2 authentication. It does not add Admin approval, temporary passwords, company login, AI ranking/scoring, CV review, or later-sprint operational modules.
KavinduLakshan393
merged commit Jul 14, 2026
ff1bca5
into
feature/sprint-2-auth-integration-fixes
7 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…sprint-2-auth-integration-fixes
Summary
Implements the Sprint 2 authentication backend for Student onboarding, Student/Admin login, password reset, JWT session handling, RBAC, audit/security events, and Flyway-backed persistence.
What changed
/auth/meand logout supportVerification
./mvnw.cmd testScope notes
This PR is limited to Sprint 2 authentication. It does not add Admin approval, temporary passwords, company login, AI ranking/scoring, CV review, or later-sprint operational modules.