Skip to content

Merge pull request #12 from UOR-Internship-Management-System/feature/… - #13

Merged
KavinduLakshan393 merged 1 commit into
feature/sprint-2-auth-integration-fixesfrom
main
Jul 14, 2026
Merged

Merge pull request #12 from UOR-Internship-Management-System/feature/…#13
KavinduLakshan393 merged 1 commit into
feature/sprint-2-auth-integration-fixesfrom
main

Conversation

@KavinduLakshan393

Copy link
Copy Markdown
Collaborator

…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.

…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
KavinduLakshan393 merged commit ff1bca5 into feature/sprint-2-auth-integration-fixes Jul 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant