I have an iOS app that is able to authenticate against a Congnito endpoint using OAuth2. The app receives a token from Cognito after the user successfully authenticates.