Cognito Setup as External Database


I have an existing application that uses Cognito for user authentication. We want to start using Auth0 for SSO and will be doing a lazy migration of users from Cognito into Auth0 using the login flow action.

It is unclear to me how to setup the connection between Auth0 and Cognito - should it be a SAML connection or an OIDC connection? Cognito is not a preset option like Azure or Google Workspaces and I was unable to find clear documentation for setting up this link.

Note: This not using Auth0 as a Federated IdP for Cognito, so most of the documentation I have been able to find does not apply.