Skip to main content
Version: Mới nhất

Thông tin chung

Môi trường TEST

A. Kết nối Server SSO (máy chủ xác thực authorization_code)

Hệ thốngDomain [Domain-Server-SSO]
Sử dụng máy chủ bên ngoài Domainhttps://sso.api.ttithutech.com

B. Cổng Client SSO (Đăng nhập chung)

MụcURL
Domain [Domain-Client-SSO]https://sso.ttithutech.com
Trang login Web app[Domain-Client-SSO]/login-sso
Trang login Mobile app[Domain-Client-SSO]/login-mobile
Quản lý tài khoản[Domain-Client-SSO]/ca-nhan/tai-khoan/thong-tin
Đổi mật khẩu[Domain-Client-SSO]/ca-nhan/tai-khoan/doi-mat-khau

C. Tài khoản Test

UsernameMật khẩu
2280600348123456789
25808500213123456789
2380614997123456789
1811061227123456789
2187501154123456789
2181906022123456789
Lưu ý

Dữ liệu tài khoản test có thể reset hằng ngày.


Danh sách Mã lỗi

API Exchange Access Token (PKCE)

Mã lỗiLoại lỗiResponse
[26]Authorization code đã hết hạn{ "statusCode": 403, "reasons": { "message": "[26] Authorization code đã hết hạn", "options": { "code": -1 } } }
[27]Không tìm thấy thông tin đăng nhập{ "statusCode": 403, "reasons": { "message": "[27] Không tìm thấy thông tin đăng nhập", "options": { "code": -2 } } }
[28]Code challenge đã hết hạn{ "statusCode": 403, "reasons": { "message": "[28] Code challenge đã hết hạn", "options": { "code": -3 } } }
[29]Code verifier không đúng{ "statusCode": 403, "reasons": { "message": "[29] Code verifier không đúng", "options": { "code": -4 } } }
[30]Code challenge đã tồn tại{ "statusCode": 403, "reasons": { "message": "[30] Code challenge đã tồn tại.", "options": { "code": -5 } } }
[31]Phiên đăng nhập chưa khởi tạo{ "statusCode": 403, "reasons": { "message": "[31] Phiên đăng nhập chưa khởi tạo", "options": { "code": -6 } } }

API Exchange Access Token (SECRET_KEY)

Mã lỗiLoại lỗiResponse
[32]Client ID không hợp lệ{ "statusCode": 403, "reasons": { "message": "[32] Client ID không hợp lệ", "options": { "code": -1 } } }
[34]Authorization code đã hết hạn{ "statusCode": 403, "reasons": { "message": "[34] Authorization code đã hết hạn", "options": { "code": -3 } } }
[35]Không tìm thấy thông tin đăng nhập{ "statusCode": 403, "reasons": { "message": "[35] Không tìm thấy thông tin đăng nhập", "options": { "code": -4 } } }
[36]Secret không đúng{ "statusCode": 403, "reasons": { "message": "[36] Secret không đúng", "options": { "code": -6 } } }

Lưu ý chung

Lưu ý quan trọng khi tích hợp
  • Lấy Client ID & Secret: Liên hệ Trung tâm QLCNTT HUTECH (Email: tt.qlcntt@hutech.edu.vn, Zalo: 0976535298)
  • Client_id (app-key): Được cấp bởi HUTECH TEAM
  • Secret_key: Được cấp bởi HUTECH TEAM