You can create a custom auth flow using lambda and cognito; you can return a series of challenges and create a stateful flow using session tokens which results in a set of access, identity, and refresh tokens.
Alternatively you can use the auth code flow baked into lambda; if you have premium support make a case and someone can walk you through it :)
Alternatively you can use the auth code flow baked into lambda; if you have premium support make a case and someone can walk you through it :)