<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>API Layer &amp; Authentication on 🏠</title><link>https://tofl.github.io/docs/6-api-layer-authentication-api-gateway-cognito/</link><description>Recent content in API Layer &amp; Authentication on 🏠</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://tofl.github.io/docs/6-api-layer-authentication-api-gateway-cognito/index.xml" rel="self" type="application/rss+xml"/><item><title>17. API Gateway</title><link>https://tofl.github.io/docs/6-api-layer-authentication-api-gateway-cognito/api-gateway/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tofl.github.io/docs/6-api-layer-authentication-api-gateway-cognito/api-gateway/</guid><description>&lt;h1 id="api-gateway"&gt;API Gateway&lt;a class="anchor" href="#api-gateway"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Amazon API Gateway &lt;a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html"&gt;🔗&lt;/a&gt; is a fully managed service for creating, publishing, and securing APIs at any scale. The core problem it solves: your backend logic (a Lambda function, an EC2 service, or any HTTP endpoint) isn&amp;rsquo;t directly accessible to clients in a controlled, secure, or scalable way. API Gateway sits in front of those backends and handles routing, authentication, throttling, and protocol management — so you don&amp;rsquo;t have to build any of that yourself.&lt;/p&gt;</description></item><item><title>18. Cognito</title><link>https://tofl.github.io/docs/6-api-layer-authentication-api-gateway-cognito/cognito/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tofl.github.io/docs/6-api-layer-authentication-api-gateway-cognito/cognito/</guid><description>&lt;h1 id="cognito"&gt;Cognito&lt;a class="anchor" href="#cognito"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Managing user authentication from scratch is a significant engineering effort: you need to handle password hashing, account recovery, MFA, token issuance, session management, and more. Amazon Cognito &lt;a href="https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html"&gt;🔗&lt;/a&gt; solves this by providing a fully managed identity service that handles user sign-up, sign-in, and access control so you can focus on your application logic instead of reinventing auth infrastructure.&lt;/p&gt;
&lt;p&gt;Cognito has two distinct building blocks that are often used together but serve fundamentally different purposes: &lt;strong&gt;User Pools&lt;/strong&gt; and &lt;strong&gt;Identity Pools&lt;/strong&gt;.&lt;/p&gt;</description></item></channel></rss>