Question:
I have a Next.js SPA hosted on AWS S3 with authentication from cognito. I would like to have a button on my Next.js site, that when pressed, opens a wix site in a new tab and auto logs in the user to the members zone. All pages of the wix site will be in the members area.
What have you already tried:
Do i just follow the steps in the Github authentication walkthrough? Set up an Externally-Managed Login Flow with Next.js and Github
This example uses oAuth, will I face any issues using AWS cognito? Also the registration of the user/retrieval of the wix member ID for the current logged in user will have to take place on an AWS lambda. Has anyone done this before?
Thanks