Changes for page Authentification endpoints
Last modified by Outhman Moustaghfir on 2022/06/13 13:17
<
>
edited by Outhman Moustaghfir
on 2021/11/17 17:29
on 2021/11/17 17:29
edited by Outhman Moustaghfir
on 2021/11/23 11:41
on 2021/11/23 11:41
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,6 +2,21 @@ 2 2 3 3 This documentation describes how to get authenticated to the iXPath App. 4 4 5 + 6 += Validation = 7 + 8 +The endpoint should verify those points : 9 + 10 +- Encrypt the password with SHA256 algorithme 11 + 12 +- Verify if the user's environment is active 13 + 14 +- Remove all unnecessary verifications (Env's verification) 15 + 16 +- Verify if the user is activated. 17 + 18 +- Throw error 401 and 403 for the authentication faillure. 19 + 5 5 = Endpoints = 6 6 7 7 |(% style="width:162px" %)**URL [method]**|(% style="width:284px" %)**Description**|(% style="width:580px" %)**Input example**|(% style="width:472px" %)**Output example** ... ... @@ -32,7 +32,7 @@ 32 32 {{code language="JSON" layout="LINENUMBERS"}} 33 33 { 34 34 "timestamp": 1637164878357, 35 - "status": " 500",50 + "status": "401", 36 36 "error": "the user's information not found : user, password", 37 37 "thechnicalError": "the user's information not found : user, password" 38 38 }