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:
16
note.md
16
note.md
@@ -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 .
|
||||
Reference in New Issue
Block a user