This paper deals with the control of an active ankle foot orthosis (AAFO) for paretic patients. State of the art methods using an AAFO try to track a predefined trajectory of the ankle joint while guaranteeing the wearer’s safety in the presence of a large tracking error. Combining the wearer’s safety and tracking accuracy is generally difficult to achieve at the same time, hence a trade-off should be found. Proxy-based sliding mode control (PSMC) offers great performances in both position tracking and safety guarantee. However, its tracking performance is subject to the influences of parameter uncertainties and external disturbances that generally occur during walking. This paper introduces an adaptation interaction method to the basic PSMC with an online adaptation of the proportional, integral and derivative parameters. At the same time, a gait phase-based ankle reference generation algorithm was proposed to adjust the joint reference trajectory in real time. The experiments using the AAFO show better tracking results with respect to basic PSMC while guaranteeing the safety.