{"info":{"_postman_id":"a0ec1725-e7dc-4e38-b901-e2f5377fa86a","name":"CM Studio SSO - Enterprise API","description":"<html><head></head><body><p>Tài liệu API chính thức cho Hệ sinh thái Định danh VinaDB SSO.\nBao gồm 5 phân hệ cốt lõi: Authentication (Xác thực), E-KYC Profile (Hồ sơ), Admin Workspace (Quản trị), Developer Portal (Nhà phát triển) và SSO Integration.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"33826147","collectionId":"a0ec1725-e7dc-4e38-b901-e2f5377fa86a","publishedId":"2sBY4VLJ7a","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF4D4D"},"publishDate":"2026-08-07T17:29:34.000Z"},"item":[{"name":"1. Authentication & Security","item":[{"name":"1.1 Check User (Kiểm tra tồn tại)","id":"c7524cab-0be5-4678-ab58-ed065d984f94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user@domain.com\"\n}"},"url":"https://sso.chuongminh.com/api/auth/check-user","urlObject":{"path":["auth","check-user"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[{"id":"485908a6-8f69-4cd1-a1bf-dcd25d52a787","name":"Thành công (200)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user@domain.com\"\n}"},"url":"https://sso.chuongminh.com/api/auth/check-user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"exists\": true,\n    \"user\": {\n        \"username\": \"chuongminh\",\n        \"email\": \"admin@chuongminh.com\",\n        \"full_name\": \"Phạm Minh Chương\",\n        \"avatar_url\": \"https://...\"\n    }\n}"}],"_postman_id":"c7524cab-0be5-4678-ab58-ed065d984f94"},{"name":"1.2 Send Email OTP","id":"c9f38c6c-55b3-4f5a-bbbd-b87631a3af88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"user@domain.com\"\n}"},"url":"https://sso.chuongminh.com/api/auth/send-email-otp","urlObject":{"path":["auth","send-email-otp"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9f38c6c-55b3-4f5a-bbbd-b87631a3af88"},{"name":"1.3 Register (Đăng ký tài khoản)","id":"bdf2f986-9eb1-4439-9b23-2593d4394e62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"chuongminh123\",\n    \"email\": \"user@domain.com\",\n    \"password\": \"Password123!\",\n    \"full_name\": \"Phạm Minh Chương\",\n    \"otp\": \"123456\"\n}"},"url":"https://sso.chuongminh.com/api/auth/register","urlObject":{"path":["auth","register"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bdf2f986-9eb1-4439-9b23-2593d4394e62"},{"name":"1.4 Login (Đăng nhập lõi)","id":"637e2410-a1d3-4a50-bd74-3ee6327c7f9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user@domain.com\",\n    \"password\": \"Password123!\",\n    \"device_id\": \"web_a1b2c3d4\",\n    \"device_name\": \"Chrome on Windows\",\n    \"fcm_token\": \"\"\n}"},"url":"https://sso.chuongminh.com/api/auth/login","urlObject":{"path":["auth","login"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[{"id":"f7677307-8efb-4231-a171-1f2e5ce6c4d0","name":"Vào thẳng (200)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user@domain.com\",\n    \"password\": \"Password123!\",\n    \"device_id\": \"web_a1b2c3d4\",\n    \"device_name\": \"Chrome on Windows\",\n    \"fcm_token\": \"\"\n}"},"url":"https://sso.chuongminh.com/api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Thành công\",\n    \"token\": \"eyJhbG...\"\n}"},{"id":"17156bbe-a7e0-41b8-9343-b8734b89912a","name":"Yêu cầu 2FA (200)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user@domain.com\",\n    \"password\": \"Password123!\",\n    \"device_id\": \"web_a1b2c3d4\",\n    \"device_name\": \"Chrome on Windows\",\n    \"fcm_token\": \"\"\n}"},"url":"https://sso.chuongminh.com/api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Yêu cầu mã 2FA.\",\n    \"require_2fa\": true,\n    \"id_account\": 1,\n    \"email\": \"user@domain.com\"\n}"},{"id":"b99c066b-31ce-4c5a-ab86-372ea87c3cef","name":"Thiết bị mới (206)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user@domain.com\",\n    \"password\": \"Password123!\",\n    \"device_id\": \"web_a1b2c3d4\",\n    \"device_name\": \"Chrome on Windows\",\n    \"fcm_token\": \"\"\n}"},"url":"https://sso.chuongminh.com/api/auth/login"},"status":"Partial Content","code":206,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Phát hiện thiết bị mới.\",\n    \"require_verify\": true,\n    \"id_account\": 1\n}"}],"_postman_id":"637e2410-a1d3-4a50-bd74-3ee6327c7f9e"},{"name":"1.5 Verify 2FA Login","id":"aeef2432-a50b-403e-a5fa-f1fa64b2367c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id_account\": 1,\n    \"totp_code\": \"123456\",\n    \"device_id\": \"web_a1b2c3d4\",\n    \"device_name\": \"Chrome on Windows\",\n    \"fcm_token\": \"\"\n}"},"url":"https://sso.chuongminh.com/api/auth/verify-2fa-login","urlObject":{"path":["auth","verify-2fa-login"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"aeef2432-a50b-403e-a5fa-f1fa64b2367c"},{"name":"1.6 Verify New Device","id":"6ee68d3b-efc6-4cc7-adbe-22bc14747a54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id_account\": 1,\n    \"otp\": \"654321\",\n    \"device_id\": \"web_a1b2c3d4\",\n    \"device_name\": \"Chrome on Windows\",\n    \"os_version\": \"Windows 11\",\n    \"fcm_token\": \"\"\n}"},"url":"https://sso.chuongminh.com/api/auth/verify-device","urlObject":{"path":["auth","verify-device"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ee68d3b-efc6-4cc7-adbe-22bc14747a54"},{"name":"1.7 Reset Password","id":"63e1c24b-8c23-4c6d-bdaa-b4e4c017fbbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"user@domain.com\",\n    \"otp\": \"123456\",\n    \"new_password\": \"NewPassword123!\"\n}"},"url":"https://sso.chuongminh.com/api/auth/reset-password","urlObject":{"path":["auth","reset-password"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"63e1c24b-8c23-4c6d-bdaa-b4e4c017fbbf"},{"name":"1.8 Emergency Disable 2FA","id":"d5c1a105-dd2a-4b08-98f5-baabe3c17abe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"user@domain.com\",\n    \"otp\": \"123456\"\n}"},"url":"https://sso.chuongminh.com/api/auth/emergency-disable-2fa","urlObject":{"path":["auth","emergency-disable-2fa"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5c1a105-dd2a-4b08-98f5-baabe3c17abe"}],"id":"13fd8111-7824-4353-b58a-7799e3ce3478","description":"<p>Các API phục vụ Đăng ký, Đăng nhập, Quên mật khẩu, 2FA và Xác minh Thiết bị mới.</p>\n","_postman_id":"13fd8111-7824-4353-b58a-7799e3ce3478"},{"name":"2. User Identity (E-KYC Profile)","item":[{"name":"2.1 Get My Profile","id":"95fbbc3c-b608-44ee-a318-0f943dacc28a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer PASTE_JWT_TOKEN_HERE"}],"url":"https://sso.chuongminh.com/api/profile/me","urlObject":{"path":["profile","me"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"95fbbc3c-b608-44ee-a318-0f943dacc28a"},{"name":"2.2 Get Login History","id":"ad6537fc-1f96-4bb7-a6b7-4d2ed4997a75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer PASTE_JWT_TOKEN_HERE"}],"url":"https://sso.chuongminh.com/api/profile/history","urlObject":{"path":["profile","history"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad6537fc-1f96-4bb7-a6b7-4d2ed4997a75"},{"name":"2.3 Update Profile (Kèm Metadata Tùy Biến)","id":"0999a06a-d68a-40e0-8b8a-220370281bb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer PASTE_JWT_TOKEN_HERE"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"full_name\": \"Phạm Minh Chương\",\n    \"display_name\": \"CM Studio\",\n    \"gender\": \"nam\",\n    \"phone_number\": \"0901234567\",\n    \"dob\": \"1995-05-15\",\n    \"address\": \"Hồ Chí Minh, Việt Nam\",\n    \"identity_card\": \"079012345678\",\n    \"id_issue_date\": \"2021-01-01\",\n    \"id_issue_place\": \"Cục CSQLHC về TTXH\",\n    \"metadata\": {\n        \"role\": \"Admin\",\n        \"department\": \"IT\"\n    }\n}"},"url":"https://sso.chuongminh.com/api/profile/update","urlObject":{"path":["profile","update"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0999a06a-d68a-40e0-8b8a-220370281bb0"},{"name":"2.4 Upload Avatar","id":"fec9d47e-45b3-43bd-b393-3e4f8afd999b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer PASTE_JWT_TOKEN_HERE"}],"body":{"mode":"formdata","formdata":[{"key":"avatar","type":"file","src":"/path/to/image.jpg"}]},"url":"https://sso.chuongminh.com/api/profile/upload-avatar","urlObject":{"path":["profile","upload-avatar"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fec9d47e-45b3-43bd-b393-3e4f8afd999b"},{"name":"2.5 Change Password","id":"dc939f73-f083-4ef6-b55a-d640e4491b14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer PASTE_JWT_TOKEN_HERE"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"current_password\": \"OldPassword123\",\n    \"new_password\": \"NewPassword123!\"\n}"},"url":"https://sso.chuongminh.com/api/profile/change-password","urlObject":{"path":["profile","change-password"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc939f73-f083-4ef6-b55a-d640e4491b14"},{"name":"2.6 Generate 2FA Secret","id":"3a1dc3ce-8e04-439d-94c7-71958a899fa1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer PASTE_JWT_TOKEN_HERE"}],"url":"https://sso.chuongminh.com/api/profile/2fa/generate","urlObject":{"path":["profile","2fa","generate"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a1dc3ce-8e04-439d-94c7-71958a899fa1"},{"name":"2.7 Enable 2FA","id":"11fb36fc-7d5a-48c0-b7e8-b4e18033bcb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer PASTE_JWT_TOKEN_HERE"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"123456\"\n}"},"url":"https://sso.chuongminh.com/api/profile/2fa/enable","urlObject":{"path":["profile","2fa","enable"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"11fb36fc-7d5a-48c0-b7e8-b4e18033bcb6"},{"name":"2.8 Disable 2FA","id":"2b03c48b-9997-42a3-b364-d5438cacdd02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer PASTE_JWT_TOKEN_HERE"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"password\": \"MyPassword123!\"\n}"},"url":"https://sso.chuongminh.com/api/profile/2fa/disable","urlObject":{"path":["profile","2fa","disable"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b03c48b-9997-42a3-b364-d5438cacdd02"}],"id":"49285fe5-6f4f-40d7-b2fd-a8c2ef04ef84","description":"<p>Các API cần có Bearer Token để lấy và cập nhật hồ sơ định danh E-KYC sâu.</p>\n","_postman_id":"49285fe5-6f4f-40d7-b2fd-a8c2ef04ef84"},{"name":"3. Admin Workspace","item":[{"name":"3.1 Get All Users","id":"60159145-ed1a-4f84-b1d9-5327f9bce1ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-admin-token","value":"MÃ_QUẢN_TRỊ_CỦA_BẠN"}],"url":"https://sso.chuongminh.com/api/admin/users","urlObject":{"path":["admin","users"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"60159145-ed1a-4f84-b1d9-5327f9bce1ad"},{"name":"3.2 Create New User","id":"378785a3-ee05-47b0-b812-aba43ecd1361","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-admin-token","value":"MÃ_QUẢN_TRỊ_CỦA_BẠN"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"testuser\",\n    \"email\": \"test@domain.com\",\n    \"full_name\": \"Nguyễn Văn Test\",\n    \"password\": \"123456aA@\"\n}"},"url":"https://sso.chuongminh.com/api/admin/users","urlObject":{"path":["admin","users"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"378785a3-ee05-47b0-b812-aba43ecd1361"},{"name":"3.3 Update User Status (Khóa/Mở)","id":"a908c5c0-716a-4785-a0b2-86b3995db794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-admin-token","value":"MÃ_QUẢN_TRỊ_CỦA_BẠN"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"banned\"\n}"},"url":"https://sso.chuongminh.com/api/admin/users/1","urlObject":{"path":["admin","users","1"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a908c5c0-716a-4785-a0b2-86b3995db794"},{"name":"3.4 Delete User","id":"edf942bd-55e1-467a-bc3b-f7285c3e6877","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-admin-token","value":"MÃ_QUẢN_TRỊ_CỦA_BẠN"}],"url":"https://sso.chuongminh.com/api/admin/users/1","urlObject":{"path":["admin","users","1"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"edf942bd-55e1-467a-bc3b-f7285c3e6877"},{"name":"3.5 Get All Apps","id":"717abf10-b316-4f01-857c-b316df2f758c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-admin-token","value":"MÃ_QUẢN_TRỊ_CỦA_BẠN"}],"url":"https://sso.chuongminh.com/api/admin/apps","urlObject":{"path":["admin","apps"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"717abf10-b316-4f01-857c-b316df2f758c"},{"name":"3.6 Review App (Phê Duyệt/Từ chối)","id":"b675d7c2-eeea-4b37-a086-45627b618987","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-admin-token","value":"MÃ_QUẢN_TRỊ_CỦA_BẠN"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"approve\",\n    \"allowed_scopes\": [\"email\", \"username\", \"full_name\", \"avatar\", \"phone\", \"identity_card\"],\n    \"admin_note\": \"Đã duyệt và cấp quyền định danh cho App này.\"\n}"},"url":"https://sso.chuongminh.com/api/admin/apps/1/review","urlObject":{"path":["admin","apps","1","review"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b675d7c2-eeea-4b37-a086-45627b618987"},{"name":"3.7 Delete App","id":"ce12d3f4-5514-43f3-bf27-f6d647b17dca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-admin-token","value":"MÃ_QUẢN_TRỊ_CỦA_BẠN"}],"url":"https://sso.chuongminh.com/api/admin/apps/1","urlObject":{"path":["admin","apps","1"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce12d3f4-5514-43f3-bf27-f6d647b17dca"}],"id":"ae56148a-17f8-4ae7-a126-786521d16590","description":"<p>API Quản trị viên (Cần Header x-admin-token).</p>\n","_postman_id":"ae56148a-17f8-4ae7-a126-786521d16590"},{"name":"4. Developer Portal (Apps)","item":[{"name":"4.1 Get My Apps","id":"ba8c310b-ff95-4b26-b16e-0e299cf49eb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sso.chuongminh.com/api/apps/my-apps/1","urlObject":{"path":["apps","my-apps","1"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba8c310b-ff95-4b26-b16e-0e299cf49eb0"},{"name":"4.2 Register New App","id":"d51ac87a-2bf8-428f-933d-3cf86d6fb601","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id_account\": 1,\n    \"app_name\": \"VinaDB Music\",\n    \"category\": \"Âm nhạc\",\n    \"brand_name\": \"VinaDB\",\n    \"website_name\": \"https://vinadb.com\",\n    \"webhook_url\": \"https://vinadb.com/webhook.php\",\n    \"webhook_enabled\": true,\n    \"allowed_hosts\": [\"vinadb.com\", \"app.vinadb.com\"]\n}"},"url":"https://sso.chuongminh.com/api/apps/register","urlObject":{"path":["apps","register"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d51ac87a-2bf8-428f-933d-3cf86d6fb601"},{"name":"4.3 Regenerate Secret Key","id":"c1a90252-0700-4595-88a8-7bf847c46893","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id_account\": 1,\n    \"app_id\": 1\n}"},"url":"https://sso.chuongminh.com/api/apps/regenerate-secret","urlObject":{"path":["apps","regenerate-secret"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1a90252-0700-4595-88a8-7bf847c46893"}],"id":"fb6288cb-70f3-4f60-b6d0-d1fdecfafca4","description":"<p>Nhà phát triển (Có Bearer Token của Dev).</p>\n","_postman_id":"fb6288cb-70f3-4f60-b6d0-d1fdecfafca4"},{"name":"5. SSO Core Integration","item":[{"name":"5.1 Get App Info (Consent Screen)","id":"3b777616-ca38-4852-8085-bc5decfdc681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sso.chuongminh.com/api/sso/app-info?client_id=cmsso_YOUR_CLIENT_ID&redirect_uri=https://YOUR_DOMAIN.com","urlObject":{"path":["sso","app-info"],"host":["https://sso.chuongminh.com/api"],"query":[{"key":"client_id","value":"cmsso_YOUR_CLIENT_ID"},{"key":"redirect_uri","value":"https://YOUR_DOMAIN.com"}],"variable":[]}},"response":[],"_postman_id":"3b777616-ca38-4852-8085-bc5decfdc681"},{"name":"5.2 Direct Login (First-Party Apps)","id":"07139817-179b-4399-ac7d-76f3c33ea4d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user@domain.com\",\n    \"password\": \"Password123!\",\n    \"client_id\": \"cmsso_YOUR_CLIENT_ID\",\n    \"client_secret\": \"sk_YOUR_SECRET\"\n}"},"url":"https://sso.chuongminh.com/api/sso/direct-login","urlObject":{"path":["sso","direct-login"],"host":["https://sso.chuongminh.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"07139817-179b-4399-ac7d-76f3c33ea4d0"}],"id":"e7831af6-789a-454a-88b2-02d2c1a7d7e4","description":"<p>Dùng cho OAuth2 Màn hình Consent và Direct Login Backdoor.</p>\n","_postman_id":"e7831af6-789a-454a-88b2-02d2c1a7d7e4"},{"name":"New Request","id":"32f45aa1-1c05-45d0-b908-cb9ddcde74f5","request":{"method":"GET","header":[],"url":"","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"32f45aa1-1c05-45d0-b908-cb9ddcde74f5"}],"variable":[{"key":"baseUrl","value":"https://sso.chuongminh.com/api"},{"key":"token","value":"PASTE_JWT_TOKEN_HERE"},{"key":"adminToken","value":"MÃ_QUẢN_TRỊ_CỦA_BẠN"},{"key":"accountId","value":"1"}]}