<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Oauth on Commentary of Takao</title><link>https://takao.blog/es/tags/oauth/</link><description>Recent content in Oauth on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>es</language><copyright>Commentary of Takao</copyright><lastBuildDate>Sun, 12 Jul 2026 04:12:51 +0900</lastBuildDate><atom:link href="https://takao.blog/es/tags/oauth/index.xml" rel="self" type="application/rss+xml"/><item><title>OAuth 2.0 y OpenID Connect: Autenticación y autorización modernas</title><link>https://takao.blog/es/web/oauth-oidc/</link><pubDate>Mon, 29 Jan 2024 00:00:00 +0900</pubDate><guid>https://takao.blog/es/web/oauth-oidc/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/oauth-oidc-es.png" alt="Featured image of post OAuth 2.0 y OpenID Connect: Autenticación y autorización modernas" /&gt;&lt;p&gt;OAuth 2.0 es un protocolo de autorización delegada. OpenID Connect (OIDC) añade una capa de autenticación sobre OAuth 2.0.&lt;/p&gt;
&lt;h2 id="roles-en-oauth-20"&gt;Roles en OAuth 2.0
&lt;/h2&gt;&lt;p&gt;Resource Owner (usuario), Client (app), Authorization Server (Auth0, Cognito), Resource Server (API). Flujo: consentimiento → token → acceso.&lt;/p&gt;
&lt;h2 id="grant-types"&gt;Grant Types
&lt;/h2&gt;&lt;p&gt;Authorization Code: el más seguro, con PKCE. Client Credentials: servidor a servidor. Implicit: obsoleto. Device Code: dispositivos sin navegador.&lt;/p&gt;
&lt;h2 id="openid-connect"&gt;OpenID Connect
&lt;/h2&gt;&lt;p&gt;Añade &lt;code&gt;id_token&lt;/code&gt; (JWT) con información del usuario. &lt;code&gt;/userinfo&lt;/code&gt; endpoint. Scope &lt;code&gt;openid&lt;/code&gt;. Claims: sub, name, email, picture.&lt;/p&gt;</description></item></channel></rss>