Auth-0, Cognito with React - where and how do they merge

I was looking at this article. I got Most of the way through, but then it ends with a Swift example which is not what I need. Has anyone gotten this to work with AWS Cognito? I have literally taken the sample app and not touched the auth section. ANy lead in the right direction or right direction on the React SDK would be a great help.

The article in question:


Were you able to solve this issue? Looking to do something similar