TOKEN LEAKAGE IN RESPONSE
Check the response to see if the token is leaked in response
Add json extension to endpoint, eg: resetpassword.json
GET /passwordReset.json HTTP/1.1
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"email" : "
[email protected]" ,
"token" : ******,
"success" : "true"
}
GET /passwordReset HTTP/1.1
email
[email protected]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8