Oh, your agents need OAuth2, too
Recorded at LDX3 by LeadDev, Ryan chats with Dan Moore, Senior Director of CIAM Strategy and Identity Standards at FusionAuth, about adapting established OAuth2 protocols for the agentic era, the security necessity of giving autonomous AI agents their own distinct identities, and how AI coding tools are shifting developers' focus toward solving core business problems.
Episode notes:
FusionAuth is an identity and access management platform that provides customer authentication, OAuth, and security solutions for developers.
This episode was recorded at LDX3. Listen to our other LDX3 conversation with engineering leaders Nivia Henry and Charity Majors.
Read Dan’s most recent piece on the Stack Overflow blog about authentication and authorization in MCP.
Connect with Dan at dan@fusionauth.io.
See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.
Over the top auth strategies (Friends)
Dan Moore from FusionAuth joins us for a wide-ranging discussion about modern auth strategies. We talk magic links, OTP, MFA, passkeys, password managers & so much more.
Join the discussion
Changelog++ members get a bonus 9 minutes at the end of this episode and zero ads. Join today!
Sponsors:
Retool – The low-code platform for developers to build internal tools — Some of the best teams out there trust Retool…Brex, Coinbase, Plaid, Doordash, LegalGenius, Amazon, Allbirds, Peloton, and so many more – the developers at these teams trust Retool as the platform to build their internal tools. Try it free at retool.com/changelog
Temporal – Build invincible applications. Manage failures, network outages, flaky endpoints, long-running processes and more, ensuring your workflows never fail. Register for Replay in London, March 3-5 to break free from the status quo.
Notion – Notion is a place where any team can write, plan, organize, and rediscover the joy of play. It’s a workspace designed not just for making progress, but getting inspired. Notion is for everyone — whether you’re a Fortune 500 company or freelance designer, starting a new startup or a student juggling classes and clubs.
Featuring:
Dan Moore – Website, GitHub, LinkedIn, X
Jerod Santo – Website, GitHub, LinkedIn, Mastodon, X
Adam Stacoviak – Website, GitHub, LinkedIn, Mastodon, X
Show Notes:
Dear new developer (Changelog Interviews #572)
N-Acetyl Cysteine (NAC): Uses and Risks
Authentication & User Management Software - FusionAuth
We Don’t Want Your Password
Magic Links Have Rough Edges, but Passkeys Can Smooth Them Over
Passkeys for a passwordless future (Changelog Interviews #544)
Password Safe
Microsoft’s new password manager works across Edge, Chrome, and mobile devices
Building A Self-hostable Product
A few more links from Dan
Passkeys: they’re not perfect but they’re getting better
Passkey Adoption Doubles in 2024
WebAuthn Explained
Something missing or broken? PRs welcome!
Dear new developer (Interview)
Hello 2024! We’re kicking off the year with Dan Moore, author of ‘Letters to a New Developer’ — a blog series of letters of what Dan wished he had known when starting his developer career. We discuss the value of online communities for new developers, the importance of communication skills, and the need to stay relevant in a rapidly changing industry. Dan shares his best advice for new developers, including the importance of saying no, leaving code better than you found it, and the value of skill stacking. So much wisdom and advice in this episode!
Join the discussion
Changelog++ members get a bonus 13 minutes at the end of this episode and zero ads. Join today!
Sponsors:
Socket – Secure your supply chain and ship with confidence. Install the GitHub app, book a demo or learn more
Neon – The fully managed serverless Postgres with a generous free tier. We separate storage and compute to offer autoscaling, branching, and bottomless storage.
Sentry – Get $100 towards your error monitoring with Sentry! Use the code changelog.
Fly.io – The home of Changelog.com — Deploy your apps and databases close to your users. In minutes you can run your Ruby, Go, Node, Deno, Python, or Elixir app (and databases!) all over the world. No ops required. Learn more at fly.io/changelog and check out the speedrun in their docs.
Featuring:
Dan Moore – Website, GitHub, LinkedIn, X
Adam Stacoviak – Website, GitHub, LinkedIn, Mastodon, X
Jerod Santo – Website, GitHub, LinkedIn, Mastodon, X
Show Notes:
Letters to a New Developer - What I wish I had known when starting my development career
Letters to a New Developer (the book)
Something missing or broken? PRs welcome!
Moving Projects Away From Passwords With WebAuthn and Python
<p>What if you didn’t have to worry about managing user passwords as a Python developer? That’s where the WebAuthn protocol and new hardware standards are heading. This week on the show, Dan Moore from FusionAuth returns to discuss a password-less future.</p>
<p>WebAuthn is a way to authenticate users using biometric, secure authentication methods. Dan dives into passkeys, ceremonies, authenticators, and hardware standards. We also cover several projects and libraries that can help you get started with WebAuthn in Python.</p>
<div class="alert alert-primary" role="alert">
<p><strong>Course Spotlight:</strong> <a href="https://realpython.com/courses/refactoring-code-to-get-help/">Refactoring: Prepare Your Code to Get Help</a> </p>
<p>In this Code Conversation video course, you’ll explore the steps you can take to get help when you’re stuck while coding. You’ll investigate how to clean up your code to focus on the question you have. Along the way, you’ll learn how to handle errors and use custom exceptions.</p>
</div>
<p>Topics:</p>
<ul>
<li>00:00:00 – Introduction</li>
<li>00:01:36 – Dan’s WebAuthn article</li>
<li>00:03:26 – FIDO and WebAuthn</li>
<li>00:05:53 – What’s a YubiKey?</li>
<li>00:07:57 – Phones with biometric systems</li>
<li>00:12:03 – Sponsor: CData Software</li>
<li>00:12:45 – Similarities to HTTPS</li>
<li>00:16:13 – A password-less future</li>
<li>00:24:31 – Where’s it being used?</li>
<li>00:30:53 – Video Course Spotlight</li>
<li>00:32:26 – Python WebAuthn projects and packages</li>
<li>00:34:52 – Does a developer need to set up additional auth methods?</li>
<li>00:37:31 – How are the third-party auth services implementing this?</li>
<li>00:39:50 – What are you excited about in the world of Python?</li>
<li>00:41:24 – What do you want to learn next?</li>
<li>00:43:20 – Thanks and goodbye</li>
</ul>
<p>Show Links:</p>
<ul>
<li><a href="https://fusionauth.io/learn/expert-advice/authentication/webauthn-explained">WebAuthn Explained - FusionAuth</a></li>
<li><a href="https://realpython.com/podcasts/rpp/99/">Episode #99: OAuth 2 and Authentication Choices for Your Python Project – The Real Python Podcast</a></li>
<li><a href="https://techcommunity.microsoft.com/t5/identity-standards-blog/all-about-fido2-ctap2-and-webauthn/ba-p/288910">All about FIDO2, CTAP2 and WebAuthn - Microsoft Community Hub</a></li>
<li><a href="https://yubikey.me/">YubiKey - Hardware Security Keys</a></li>
<li><a href="https://hideez.com/blogs/news/apple-adopts-passwordless-authentication-technology">Apple Adopts Passwordless Authentication Technology – Hideez</a></li>
<li><a href="https://www.theverge.com/2022/11/17/23464817/1password-passkey-support-security-apple-google">1Password is launching passkey support in early 2023 - The Verge</a></li>
<li><a href="https://github.com/duo-labs/py_webauthn">duo-labs/py_webauthn: Pythonic WebAuthn</a></li>
<li><a href="https://github.com/as207960/python-webauthn">python-webauthn: Server side handlers for WebAuthN with support for Apple’s FaceID, and the FIDO metadata service</a></li>
<li><a href="https://pypi.org/project/pywarp/">pywarp - PyPI</a></li>
<li><a href="https://webauthn-rp.readthedocs.io/en/latest/index.html">webauthn-rp documentation</a></li>
<li><a href="https://duo.com/blog/going-passwordless-with-py-webauthn">Going Passwordless With py_webauthn - Duo Security</a></li>
<li><a href="https://github.com/asnelling/django-webauth">django-webauth: Two Factor Authentication in Django using Web Authentication API (WebAuthn)</a></li>
<li><a href="https://pypi.org/project/django-webauthin/">django-webauthin - PyPI</a></li>
<li><a href="https://developers.yubico.com/python-fido2/">python-fido2</a></li>
<li><a href="https://www.python.org/downloads/release/python-3110/">Python 3.11.0 Release - Python.org</a></li>
<li><a href="https://realpython.com/asins/0760372454">Real Food Fermentation by Alex Lewin - Amazon</a></li>
<li><a href="https://fusionauth.io/">Auth. Built for Devs, by Devs - FusionAuth</a></li>
</ul>
<p>Level up your Python skills with our expert-led courses:</p>
<ul>
<li><a href="https://realpython.com/courses/exploring-https-cryptography/">Exploring HTTPS and Cryptography in Python</a></li>
<li><a href="https://realpython.com/courses/python-basics-code-bugs/">Python Basics: Finding and Fixing Code Bugs</a></li>
<li><a href="https://realpython.com/courses/refactoring-code-to-get-help/">Refactoring: Prepare Your Code to Get Help</a></li>
</ul> <p><a rel="payment" href="https://realpython.com/join">Support the podcast & join our community of Pythonistas</a></p>
Authentication Matters with Dan Moore of FusionAuth
About Dan
Dan Moore is head of developer relations for FusionAuth, where he helps share information about authentication, authorization and security with developers building all kinds of applications.
A former CTO, AWS certification instructor, engineering manager and a longtime developer, he's been writing software for (checks watch) over 20 years.
Links Referenced:
FusionAuth: https://fusionauth.io
Twitter: https://twitter.com/mooreds
OAuth 2 and Authentication Choices for Your Python Project
<p>Have you thought about what authentication system you want to use for your Python project? Should you use an existing Python library or a third-party service? This week on the show, Dan Moore is here to talk about authentication systems and OAuth 2.</p>
<p>Dan is the head of developer relations at FusionAuth. He shares advice about setting up an authentication system, setting up device grants, using social login, and addressing privacy issues. Dan also provides multiple resources to learn much more about the topic.</p>
<div class="alert alert-primary" role="alert">
<p><strong>Course Spotlight:</strong> <a href="https://realpython.com/courses/using-google-login-flask/">Using Google Login With Flask</a></p>
<p>In this course, you’ll create a Flask application that lets users sign in using their Google login. You’ll learn about OAuth 2 and OpenID Connect and also find out how to implement some code to handle user session management.</p>
</div>
<p>Topics:</p>
<ul>
<li>00:00:00 – Introduction</li>
<li>00:01:58 – What is FusionAuth?</li>
<li>00:03:13 – What is the single-responsibility principle?</li>
<li>00:04:14 – Thinking about setting up an authentication system</li>
<li>00:08:42 – Background on OAuth</li>
<li>00:13:26 – Device grants</li>
<li>00:19:23 – Using another provider’s login and addressing privacy issues</li>
<li>00:28:39 – Video Course Spotlight</li>
<li>00:29:53 – Resources to learn more about privacy and identity</li>
<li>00:32:39 – Setting up an OAuth system</li>
<li>00:35:59 – DIY authentication pitfalls and hashing passwords</li>
<li>00:42:57 – Staying on top of updates and social engineering</li>
<li>00:51:29 – Resources for learning more about OAuth</li>
<li>00:54:30 – What are you excited about in the world of Python?</li>
<li>00:55:42 – What do you want to learn next?</li>
<li>00:56:49 – Final words and social connections</li>
<li>00:57:47 – Thanks and goodbye</li>
</ul>
<p>Show Links:</p>
<ul>
<li><a href="https://fusionauth.io/">FusionAuth - Auth. Built for Devs, By Devs</a></li>
<li><a href="https://datatracker.ietf.org/doc/html/rfc6749">RFC 6749 - The OAuth 2.0 Authorization Framework</a></li>
<li><a href="https://datatracker.ietf.org/doc/html/rfc6750">RFC 6750 - The OAuth 2.0 Authorization Framework: Bearer Token Usage</a></li>
<li><a href="https://en.wikipedia.org/wiki/Single-responsibility_principle">Single-responsibility principle - Wikipedia</a></li>
<li><a href="https://pypi.org/project/oauthlib/">oauthlib · PyPI</a></li>
<li><a href="https://openid.net/specs/openid-connect-core-1_0.html">Final: OpenID Connect Core 1.0</a></li>
<li><a href="https://iapp.org/">International Association of Privacy Professionals</a></li>
<li><a href="https://idpro.org/">IDPro: Identity Professionals</a></li>
<li><a href="https://haveibeenpwned.com/">Have I Been Pwned: Check if your email has been compromised in a data breach</a></li>
<li><a href="https://csrc.nist.gov/projects/Hash-Functions">Hash Functions | National Institute of Standards and Technology (NIST) - Computer Security Resource Center (CSRC)</a></li>
<li><a href="https://fusionauth.io/docs/v1/tech/guides/">Guides Overview - FusionAuth</a></li>
<li><a href="https://fusionauth.io/learn/expert-advice/oauth/modern-guide-to-oauth">The Modern Guide to OAuth - FusionAuth</a></li>
<li><a href="https://link.springer.com/book/10.1007/978-1-4842-5095-2">Solving Identity Management in Modern Applications | SpringerLink</a></li>
<li><a href="https://www.manning.com/books/oauth-2-in-action">OAuth 2 in Action</a></li>
<li><a href="https://django-oauth-toolkit.readthedocs.io/en/latest/getting_started.html#oauth2-authorization-grants">Getting started — Django OAuth Toolkit 1.7.0 documentation</a></li>
<li><a href="https://flask-login.readthedocs.io/en/latest/">Flask-Login — Flask-Login 0.4.1 documentation</a></li>
<li><a href="https://fusionauth.io/blog/2020/07/14/django-and-oauth">Adding social sign in to your Django web application using OAuth - FusionAuth</a></li>
<li><a href="https://realpython.com/flask-google-login/">Create a Flask Application With Google Login – Real Python</a></li>
<li><a href="https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-04">Draft IETF - OAuth V2.1.04</a></li>
</ul>
<p>Level up your Python skills with our expert-led courses:</p>
<ul>
<li><a href="https://realpython.com/courses/django-view-authorization/">Django View Authorization: Restricting Access</a></li>
<li><a href="https://realpython.com/courses/using-google-login-flask/">Using Google Login With Flask</a></li>
<li><a href="https://realpython.com/courses/deploy-python-script-web-flask/">Deploy Your Python Script on the Web With Flask</a></li>
</ul> <p><a rel="payment" href="https://realpython.com/join">Support the podcast & join our community of Pythonistas</a></p>