Specification
Apiary | get-token-to-change-the-password |
Post | http://ehealth.edenlabllc.com/oauth/tokens |
Purpose
This WS gives possibility to registered user change password to token
Request parameters
- grant_type
- password
- client_id
- scope
Validation
Validate client_id
- Check id client_id exist in DB
- in case error return 401, "Invalid client id."
Validate grand type
- grant_type Check if $. in allowed_grant_types for client_id
- in case error return 401, "Client is not allowed to issue login token."