Rest API Connector
This page described format of messages for external authentication using REST API.
During the authentication process, Rest API connector will POST information in JSON format to your web server (API endpoint) for verification. Information included in the request will depend on authentication method - PAP, MS-CHAP, TTLS-PAP etc. Each request is authorized with an API token included with every request as a Bearer token.
List of variables sent to external server:
login - contains user's username
password - user's password, available only with PAP and TTLS+PAP authentication method
auth_port - RADIUS server authentication port that received this request
mschap_challenge - if using MS-CHAP authentication method
mschap_response - if using MS-CHAP authentication method
Response Status Codes:
2** - return status code indicates success and sample body provides user attributes, access will be approved
Attributes from the answer will be added to the RADIUS server response and sent to the Wireless Controller.
4** - return status code indicates failure and body provides error message, access will be denied