Firebase authentication vs AWS Cognito : <p>We are building a mobile and web app on AWS using API Gateway and Lambda and are currently evaluating if we should use all the AWS Mobile Servcies (Cognito, Analytics, Mobile Hub, etc) or if we should use Firebase instead (which offers some advantages like remote config).</p>

<p>I think using the non-funtional part of firebase like Analytics, Remote Config, Crash Reports, Notification should be fine with the AWS backend. The part were I am not certain is the Authentication Layer. </p>

<p>AWS Cognito integrates nicely into API Gateway and Lamdba e.g. only authenticated users can execute certain API calls. </p>

<p>Can the same behaviour be reached if we use Firebase Authentication instead?
Any good or bad experience with this?</p>
