feat: Add Access Request functionality to IAM Service

- Introduced new Access Request and Access Request Approver entities in the DbContext to support access management features.
- Updated Dependency Injection to include the AccessRequestRepository, enhancing the service's capabilities for handling access requests.
- Added example curl command for token retrieval using the test account, improving developer experience for testing authentication flows.
This commit is contained in:
Ho Ngoc Hai
2026-01-14 15:51:16 +07:00
parent dfaf6b059b
commit c041f3f7b2
17 changed files with 1476 additions and 1 deletions

16
note.md
View File

@@ -1,3 +1,17 @@
Test Account
Tài khoản: hongochai10@icloud.com
Mật Khẩu: Velik@2026
Mật Khẩu: Velik@2026
curl -s -X POST "http
://localhost:5001/connect/token" \
> -H "Content-Type: application/x-www-fo
rm-urlencoded" \
> -d "grant_type=password" \
> -d "client_id=password-client" \
> -d "client_secret=password-client-secret" \
> -d "username=hongochai10@icloud.com" \
> -d "password=Velik@2026" \
> -d "scope=openid profile email api offline_access" 2>
&1 | jq .