<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Johannes Zapotoczky on Medium]]></title>
        <description><![CDATA[Stories by Johannes Zapotoczky on Medium]]></description>
        <link>https://medium.com/@zapotoczky?source=rss-4089a5c3f350------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*khIbhwsuLVPNOUQad_1BOw.png</url>
            <title>Stories by Johannes Zapotoczky on Medium</title>
            <link>https://medium.com/@zapotoczky?source=rss-4089a5c3f350------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 14:06:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zapotoczky/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Identity and Access Management with OAuth2 and OpenID Connect]]></title>
            <link>https://blog.dasburo.com/identity-and-access-management-with-oauth2-and-openid-connect-3f7be41fb?source=rss-4089a5c3f350------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f7be41fb</guid>
            <category><![CDATA[oauth2]]></category>
            <category><![CDATA[24techbites]]></category>
            <category><![CDATA[access-management]]></category>
            <category><![CDATA[openid-connect]]></category>
            <category><![CDATA[identity-management]]></category>
            <dc:creator><![CDATA[Johannes Zapotoczky]]></dc:creator>
            <pubDate>Sun, 18 Dec 2022 08:10:07 GMT</pubDate>
            <atom:updated>2023-04-03T15:02:10.553Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dCB6agWYue3LawsGEcAOAA.png" /></figure><h4>#TechBite18: Advent Calendar 2022 by Büro am Draht</h4><h4>What is it?</h4><p>Can you remember when websites asked for the account passwords of, e.g., your <em>Google</em> or <em>Facebook</em> account, to take action with these services on your behalf? Those were dark times concerning security. Fortunately, today, we have standards that provide defined and secure ways to approach identity and access management use cases.</p><p>The <em>OAuth 2.0 protocol</em> has been developed for use cases where protected resources need to be accessed on behalf of a user, providing a secure and standardized solution via a set of defined authorization flows. <em>OAuth 2.0</em> defines the following roles:</p><ul><li><em>Resource Owner</em>: entities that provide access to protected resources, e.g., users.</li><li><em>Resource Server</em>: services that serve the protected resources, capable of providing access based on <em>access tokens</em>.</li><li><em>Client</em>: applications that need to access protected resources of the Resource Owner. E.g., websites, mobile or desktop apps.</li><li><em>Authorization Server</em>: services that authenticate the Resource Owner and issue access tokens for the permitted scopes.</li></ul><p>OAuth 2.0 uses <em>tokens</em> to provide access to protected resources without the need to share actual <em>access data </em>or<em> credentials</em>:</p><ul><li>Access tokens are used as a representation of the actual authorization, and the client employs them to access the Resource Server. They can be issued for <em>selective permission scopes</em>, i.e., different valid access tokens can have different permissions. Access tokens have a limited lifetime (usually more on the short side, e.g., for 10 minutes).</li><li>A client can use a <em>Refresh Token</em> to issue new access tokens at the Authorization Server without needing the Resource Owner to authorize again (in case an access token has expired or become invalid). They usually have longer lifetimes than access tokens. Refresh tokens are only negotiated between the client and Authorization Server — they add additional security by making it possible to have shorter lifespans for access tokens without reducing comfort for the users.</li></ul><p>While OAuth 2.0 focuses on authorization, <em>OpenID Connect (OIDC)</em> adds an <em>authentication layer</em> with facilities to manage the identity of users on top. OIDC uses the <em>OAuth 2.0 flows</em> but additionally provides information and mechanisms to manage identities, thus leveraging the Authorization Server to become an <em>Identity Provider (IDP)</em>. Therefore the protocol defines several facilities, like an additional <em>ID token</em> which contains standardized information about the identity of a logged-in user, and a <em>user info endpoint</em>, which can be called to obtain user information that may not be included in the tokens. It also introduces a <em>service discovery endpoint</em>, which enables clients to retrieve all necessary endpoints from the <em>Identity Provider</em>. These mechanisms enable <em>single-sign-on (SSO) </em>scenarios, where one identity can be used across multiple applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JNPqnjhBfz4KqoNekjQ34g.png" /></figure><h4>Why do we recommend it?</h4><p><em>OpenID Connect</em> and the underlying OAuth 2.0 represent a mature and secure combination of identity and access management protocols. Especially in the context of authentication and authorization, it is a good idea to work with standards, as they help keep security high. But from our experience, standards generally help to keep up your solutions’ maintainability and exchangeability in a continuously changing world.</p><h4>When do we recommend it?</h4><p>We recommend OpenID Connect for all use cases of <em>web-based authentication </em>and<em> authorization</em>.</p><h4>Are there examples, providers, or tools?</h4><p>Some <em>IDP solutions</em> are available, ranging from specific<em> SaaS vendors</em> over the usual cloud providers to custom libraries and open-source products. Which one to choose will depend on your particular scenario.</p><h4>How do we use it?</h4><p>At <a href="https://t.dasburo.io/b78f46"><em>Büro am Draht</em></a> we have experience with a broad range of IAM topics. We happily support you integrating your favorite IAM solution — including whole migration scenarios or specific customizations. We also offer consulting to help you select the best approach for your specific IAM use cases.</p><p>Author: Johannes Zapotoczky<br>Illustrations: <a href="https://www.instagram.com/kai_sinzinger/">Kai Sinzinger</a></p><p>This article is part of a series called #24TechBites. To sweeten the remaining time until Christmas, we aim to inform you about current technologies, inspire you or give you an opinionated review of software trends — all in the form of 24 small daily surprises in the German tradition of an “Adventskalender”.</p><p><strong>To enjoy all the other #TechBites and find out more about us and our advent calendar, click </strong><a href="https://medium.com/das-b%C3%BCro-am-draht/24techbites-58be847f5f8d"><strong>#24TechBites</strong></a><strong>!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*64GPPicd7JHvQUGMdBnQog.png" /></figure><h4>About</h4><p><a href="https://t.dasburo.io/b78f46"><em>Büro am Draht</em></a><em> </em>is a Berlin-based consultancy helping our clients to build resilient and adaptable digital platforms to support today’s business requirements and even launch tomorrow’s business models we might not yet foresee. Hence, we work closely together at every stage of the digital transformation process — from digital strategy to solution design &amp; development to operational support.</p><p>Our agile approach to developing versatile and scalable solutions ensures that our clients consistently deliver engaging and personalized customer experiences. To learn more about how we help companies across industries, visit:</p><p><a href="https://t.dasburo.io/b78f46">dasburo.com</a><br><a href="https://t.dasburo.io/6ce68e">LinkedIn</a></p><p>Want to hear from our experts on a regular basis? <br>Sign up for our newsletter (published in <em>German</em>) <a href="https://dasburo.com/newsletter?place=blog"><em>here</em></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f7be41fb" width="1" height="1" alt=""><hr><p><a href="https://blog.dasburo.com/identity-and-access-management-with-oauth2-and-openid-connect-3f7be41fb">Identity and Access Management with OAuth2 and OpenID Connect</a> was originally published in <a href="https://blog.dasburo.com/">Büro am Draht</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>