Captive Portal with Amazon Cognito

We are using Amazon Cognito for our user login.

We would like to integrate that with Peplink’s captive portal to make use of the same username and password.

Is there a way?

Thanks.