No | Description |
1 | A request is sent to CSS. |
2 | If remote authentication is enabled for the domain, CSS will process the request as specified and then send it to your authentication server. |
3 | Your authentication server returns the result. The HTTP status code 200 indicates that the request should be approved, while the code 403 indicates that the request should be rejected. |
4 | CSS approves or rejects the request based on the result. |
Configuration Item | Description | |
Authentication server address | | The address of your authentication server (required). Format: http(s)://+Domain or IP address+Port+Path. |
Request method | | POST is selected by default. You can also use HEAD or GET. |
URL authentication | Parameters to keep | All URL parameters are kept by default. You can also specify parameters to keep or remove all parameters. If you select Keep specified parameters, you need to enter the parameters to be retained in the input box. Chinese characters and spaces are not supported. Separate multiple parameters with "|", for example: value1|value2 .Authentication parameters are case-sensitive; "key" and "KEY" are considered as two different parameters. |
| Custom parameters to add | Click Add, and the parameter type can be either Select Parameter or Custom. (Up to 50 parameters can be added) Select Parameter supports choosing host, uri, query, client_ip, and cdn_ip parameters. host: The push domain. uri: The original request URL. client_ip: The request client IP. cdn_ip: The request CDN-side IP. When you select Custom, you need to fill in the parameter and value fields. Chinese characters and spaces are not supported. Authentication parameters are case-sensitive; "key" and "KEY" are considered as two different parameters. |
Timeout period (ms) per try | | This is required. Enter a value between 500 and 3000. The default is 3000. |
Max retries | | Enter a value between 0 and 3. The default is 1. |
Behavior upon timeout | | This specifies whether to approve or reject a request if the system does not receive a response (HTTP status code 200 or 403) after the total timeout period elapses (Total timeout period = Timeout period per try x (Max retries + 1)). The default is Approve. You can also set it to Reject. |
Was this page helpful?