How can implement single sign on usign cakephp and cognito aws - apigateway?

hello friends, I’m working with two applications in cakephp, I use validation for my users through the cakedc users plugin, I need to implement a single sing on with several applications, two of them have that plugin, some implementation example with those tools.

some example to do it

thanks a lot.