Passport is nodejs specific it looks like (no personal experience with it). AWS Amplify auth with cognito gives you libs for most major platforms (android, ios, web, etc) in most frameworks (vue, angular, react, native, etc). Plus aws cognito integrates well with AWS.