Latest / Talk Python To Me / #292: Pythonic identity (auth in Python ecosystem)
Transcript
- 0:00So you're excited about that next app you're about to build.
- 0:02You can visualize the APIs with smooth scalability talking to the mobile apps.
- 0:07You can see, finally, this time, you'll get deployment right,
- 0:10and it'll be pure continuous delivery out of GitHub with zero downtime.
- 0:14What you're probably not dreaming about is writing yet another password reset form
- 0:18and integrating the mail capabilities just to send those reset emails,
- 0:22or how you'll securely store user accounts the right way this time.
- 0:26Don't worry, we got you covered.
- 0:29Our guests, Christos Mascas and John Patrick Dendison,
- 0:32are here to cover a bunch of different libraries and techniques
- 0:35we can use for adding identity to our Python applications.
- 0:38This is Talk Python To Me, episode 292, recorded Friday, October 2nd, 2020.
- 0:58Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem,
- 1:03and the personalities.
- 1:04This is your host, Michael Kennedy.
- 1:06Follow me on Twitter, where I'm @mkennedy, and keep up with the show and listen to past
- 1:10episodes at talkpython.fm, and follow the show on Twitter via at Talk Python.
- 1:15This episode is brought to you by Linode and Talk Python Training.
- 1:18Please check out the offers during their segments.
- 1:21It really helps support the show.
- 1:22Here's an unexpected question for you.
- 1:25Are you a C# or .NET developer getting into Python?
- 1:28Do you work at a company that used to be a Microsoft shop, but is now finding their way over to the
- 1:34Python space?
- 1:35We built a Python course tailor-made for you and your team.
- 1:39It's called Python for the .NET developer.
- 1:42This 10-hour course takes all the features of C# and .NET that you think you couldn't
- 1:47live without.
- 1:47Unity Framework, Lambda Expressions, ASP.NET, and so on.
- 1:51And it teaches you the Python equivalent for each and every one of those.
- 1:55This is definitely the fastest and clearest path from C# to Python.
- 1:59Learn more at talkpython.fm/.NET.
- 2:02That's talkpython.fm/D-O-T-N-E-T.
- 2:06Christos, John, welcome to Talk Python To Me.
- 2:09It's nice to be here.
- 2:10Thanks for having us.
- 2:10Yeah, it's great to have you guys here.
- 2:12We're going to talk about identity at all the different levels.
- 2:16And I think that's something we really haven't covered that deeply on the show, not in a
- 2:20standalone sense anyway.
- 2:22And so I'm looking forward to covering these topics because we've got some interesting
- 2:26and strong opinions about different things that we're going to cover.
- 2:29And it's going to be a lot of fun.
- 2:30I can tell already.
- 2:30Hey, we're open.
- 2:32We're open to all and every opinion here, right?
- 2:36We just want to make sure that people are doing it safely and right if they're building
- 2:40apps, right?
- 2:41So that's our goal.
- 2:43That's right.
- 2:43Yeah.
- 2:44So let's start with the beginning, with setting stage, just personally for you two.
- 2:50Christos, I guess we'll start with you first.
- 2:51How did you get into programming?
- 2:53And then how do you find your way over to being interested in Python, at least as part of one
- 2:57of the languages you write?
- 2:58That is correct.
- 2:59So it's funny because I was thinking back how I started with programming.
- 3:03And I was saying yesterday that I actually want to be a hacker.
- 3:06At some point in my life, the crossroads of what do I want to do?
- 3:09I think it was the tender age of 20 or 21.
- 3:12I was like, what do I want to do with my life?
- 3:14I can choose anything I want.
- 3:15I want to be a hacker.
- 3:16So I was like, to be a hacker, you need to know how to write code.
- 3:19So I was like, okay, I'll go and get a degree in coding.
- 3:21So I did a software engineering degree.
- 3:23And then I thought, you know what?
- 3:25If you want to be a good hacker, you need to know about networking.
- 3:27So I went and did a networking degree, understanding TCP, stacks, OSI, and what have you.
- 3:34And then I went back to programming because I fell in love with it initially.
- 3:37I became a .NET fanboy from the early days because I did that in uni.
- 3:41And then the market was ripe for that.
- 3:43So I ended working with that stack for very long.
- 3:46So since 2004, I've been writing code in .NET.
- 3:50But over the years, I worked as a consultant.
- 3:52So I got a chance to double with Python, Node, Java.
- 3:56And that Polyglot experience brought some interesting bits like, oh, I like this bit from Node.
- 4:00I like this bit from Python.
- 4:01.NET doesn't do everything.
- 4:03Then .NET Core came around.
- 4:04So I fell in love with .NET Core again and pulled me back into the .NET ecosystem.
- 4:09And then I joined Microsoft in 2016, working as a consultant, helping customers.
- 4:14And since March, I moved into the identity team where I work as a program manager for the developer advocacy team.
- 4:22And this gives me the opportunity to actually go and play around with all the languages and see how we can integrate identity into these things securely and with scale.
- 4:31And that's where we are today.
- 4:32Yeah, it's super cool.
- 4:33And I think one of the things that's really interesting, this whole evangelism side is you get to touch a bunch of different technologies and identity.
- 4:42You get to talk about a bunch of different technologies.
- 4:44This Node app wants to talk to that Python API back in.
- 4:48Yeah.
- 4:49So you really kind of got to embrace that full time, right?
- 4:53And every platform and every language.
- 4:54So we're not locked into a specific ecosystem.
- 4:57We can speak to AWS developers.
- 4:58We speak to Google developers.
- 5:00We speak to DigitalOcean developers, as we mentioned before.
- 5:03For us, it's about making sure that you have the right tools in your arsenal to write the code using the tools that you love and the languages that you love.
- 5:11All right.
- 5:12I can't let you get off this topic here of the origin story without asking you about Mr. Robot.
- 5:17Oh, God.
- 5:18I love it.
- 5:19My background right now on my Windows terminal is Mr. Robot.
- 5:24Oh, my gosh.
- 5:24As is Mr. JP's, who's going to be talking in a second.
- 5:29And the other background, because I have multiple terminals, the other one is Halt and Catch Fire, which is my second favorite TV show.
- 5:35If you haven't watched it, it's a fantastic TV show.
- 5:37Oh, yeah.
- 5:38I would say Mr. Robot, if those of you who have not watched this, it gets a little weird in season two and season three.
- 5:43But season one, this is, I would say, it's probably the absolute best dramatic representation of programming and software in a show.
- 5:53It's not one of these fake things.
- 5:55Like, you really feel like, I think there's a whole section where they're using PyCharm to write some Python code down.
- 6:00Yeah.
- 6:00And you're like, dude, that's legit code on the screen.
- 6:02That's not like weird green text falling down or something, right?
- 6:06Actually, it's super accurate.
- 6:08And there are lots of people in the tech industry that love that show that spend time looking at the commands that they write to analyze whether it's a valid code or not.
- 6:16Whereas other shows, I don't know.
- 6:17I mean, the best one was NCIS, was it?
- 6:20Where two people jump on the keyboard?
- 6:21Yeah.
- 6:22Was that the VBA one?
- 6:23The VB one?
- 6:24Yeah.
- 6:24The very first one where they were like, oh, somebody is attacking us.
- 6:28And the two people jump on the keyboard trying to type at the same time on the same keyboard.
- 6:31Oh, that hurts.
- 6:34That's not the pair program we were thinking of.
- 6:36All right, John, how about you?
- 6:39How did you get into programming, VBA?
- 6:41So I started, I was always sort of into computers and building stuff when I was a kid.
- 6:45And so I thought, oh, I'll go to college for something I want to do, which is music education.
- 6:49So I wanted to be a band director.
- 6:50So we see, which we see how well that worked out.
- 6:53So I went to college and I took a bunch of programming classes.
- 6:56And most of my programming classes were actually in Python when I was starting out before they moved into Java.
- 7:02I'm super jealous.
- 7:03They said I had to do it all in Lisp and 4chan.
- 7:06What?
- 7:07Oh, God.
- 7:08Yeah, no thanks.
- 7:11Yeah.
- 7:11All right.
- 7:12So yeah.
- 7:12All right.
- 7:12Python and then Java.
- 7:13That makes sense.
- 7:14I mean, I think honestly, studying a static language is super important, even if you don't necessarily embrace it.
- 7:19But Java, C++, C#, you should know that stuff, even if you don't necessarily do it day to day.
- 7:24Yeah.
- 7:24Yeah.
- 7:25And then while I was in college, I found a job on a help desk and one of their developers left and they said, hey, do you want to come help and take over?
- 7:31And I said, I guess.
- 7:33I have no idea what I'm doing, but I'll try.
- 7:35And so my first project, for better or for worse, was an online banking app that was written in C#.
- 7:40And I was like, are you guys sure you want me to build this?
- 7:43I was like 20.
- 7:44That's so interesting.
- 7:45I remember the first time I wrote a credit card processing, I was paranoid.
- 7:50I had a hard time being relaxed.
- 7:53I'm like, what if I get it wrong?
- 7:54What if I charge them $10,000 instead of $100?
- 7:58Because I thought it took cents and it took dollars.
- 8:01It was really nerve-wracking.
- 8:02And that's a hard first project.
- 8:05When it was me and one other guy, and he had a lot of – he was a 15-, 20-year guy.
- 8:08But I would ask him questions and he was just like, yeah, no, it sounds fine.
- 8:12I thought, you seem very relaxed about this whole thing.
- 8:15And it was an app for high net worth individuals to go and manage their insurance accounts.
- 8:21So I guess there weren't like transactions necessarily happening, but you could reinvest your life insurance policy and stuff.
- 8:28I mean, I was terrified every day I went to work.
- 8:32And this guy, we hired a guy, a consultant to come in and help.
- 8:35And my boss said, well, you're 20, so you're not going to get your own office.
- 8:39And he's a consultant and he's not going to get his own office.
- 8:41So you two are going to share an office.
- 8:44And so I sat at a desk with a tower of Mountain Dew cans in between me and him.
- 8:47And he would poke out once a day and he'd go up and write a concept on the board like, you need to go learn about interfaces and C-sharp.
- 8:55And I said, okay.
- 8:55And I'd go figure it out and learn about them and come back a couple days later and say, okay.
- 9:00But it was really interesting.
- 9:02It was sort of a trial by fire.
- 9:03And then I started working, you know, doing enterprise dev at different places.
- 9:06And then I got really into Azure about 10 years ago and built an app with a friend.
- 9:11I told Christos, I don't know if you can still call it a startup when it's nine years old, but I guess it's still a startup because it makes about as much money as a startup.
- 9:19I was actually thinking about that just the other day.
- 9:21I saw headlines like, when does a startup stop becoming a startup?
- 9:24It's odd that that label, like it's applied to it.
- 9:26I feel like people almost consider Facebook and these types of places a startup.
- 9:31Like this is not a startup.
- 9:32So let me just ask you, my theory is basically when you stop accepting VC money, it's not a startup.
- 9:40And maybe it might not be a startup when, even when it's small, if it doesn't have like some of these attributes, like high growth, sort of user growth.
- 9:49Overprofit or profitability.
- 9:51I feel like there's some sort of metric you can say, like this world makes these attributes make it a startup, not just a small business or a large business.
- 10:01I don't know.
- 10:01What do you think?
- 10:02Yeah.
- 10:02Well, by that definition, let's see, growth over profit, VC money.
- 10:08So we've had none of those things.
- 10:09Exactly.
- 10:11But I think we called it, we used to call it a startup because it was only two of us and it was technology focused.
- 10:17It was all about, it was actually, it was a proxy.
- 10:18Yeah.
- 10:19I think it qualifies.
- 10:20Sorry for the diversion.
- 10:21Keep going.
- 10:21No, no, that's okay.
- 10:22But I learned a whole lot.
- 10:23I learned a whole lot because I was building software outside of work.
- 10:26And it was, I think for me, when we had people start paying to use it, it was sort of like the light bulb went off of like, hey, maybe I should, like, maybe this is it.
- 10:34Maybe I do have some talent here and I should do this more often.
- 10:36Yeah.
- 10:37It's kind of like an external validation, which was cool.
- 10:39And started doing cloud consulting for people too.
- 10:43So I worked for a consulting firm and we would go to customers that wanted to use Azure or were interested in it and say, hey, this is how you use it.
- 10:50And these are ways to get started.
- 10:51And here's how you design apps that are going to scale to one node or 5,000 nodes.
- 10:55And a lot of patterns and how do you deal with consistency and data and that sort of thing in a cloud environment.
- 11:02Of course, back then, it was the Wild West.
- 11:04We had some customers using AWS.
- 11:06We had some customers using Azure.
- 11:08We had some customers that were calling Rackspace the cloud, which that's cool because back then they were about the only other thing out there.
- 11:14And then I came to Microsoft and did pretty much the same thing, but focused on Azure.
- 11:18And a few months ago, right around the same time Christos did, joined the identity team for helping developers understand identity.
- 11:25I think because as a developer myself, I know that I didn't care about identity until I started using it and realized, oh, if I don't have to deal with this on my own, I'm sold.
- 11:34I don't want to do this.
- 11:35I'm sort of, this is what I want to do.
- 11:37Yeah.
- 11:37And then seeing how many projects got completely sidetracked and blocked and had so many issues with identity because, you know, we have a, we're sort of a funny saying that we hear people say around our division of, we need to talk to identity developers.
- 11:50I was like, well, 1,500 identity developers in the world work for us because they care about identity and they want to build an identity system.
- 11:57Most of our customers don't want to build an identity system.
- 12:01They want to build an app and identity is the third checkbox in the list that they want to check off and get back to the other 200 tasks they have to do.
- 12:08Yeah.
- 12:08Well, it's one of those things that you have this idea, like, I really want to build this thing.
- 12:12It will be amazing.
- 12:13And nobody ever goes, and I want to have a super cool login or I want to have a really fantastic secure header exchange with my API.
- 12:22Like, nobody wants that, but you can't release the thing without an account and identity and, or some sort of authentication.
- 12:30Right.
- 12:31And it's, it's also, you talked about being nervous around the banking stuff.
- 12:35And so did I rightly so, but this is another one that will make you a little uncomfortable.
- 12:40If you get it wrong.
- 12:41Oh yeah.
- 12:42You know, you could end up in the news in the wrong way.
- 12:44You don't want that to happen.
- 12:45Yeah.
- 12:45We want you to be out of the news.
- 12:47So we have lots of companies out there that make the news every week for this exact reason.
- 12:51I think Troy Hunt, I don't know if you follow Troy Hunt, but he's a big security.
- 12:54Yeah.
- 12:55Troy Hunt has been on the show previously.
- 12:57Nice.
- 12:57Quite a while ago.
- 12:58But yeah, Troy is fantastic.
- 13:00He does.
- 13:01Have I been pwned?
- 13:02And he's a really good, he has a bunch of good ideas around what it means to proper security as a developer.
- 13:07Yeah.
- 13:08Yeah.
- 13:08But he's a, have I been pwned, right?
- 13:10What nearly 10 billion accounts have been compromised and made it to the, to the news.
- 13:15So we don't want our developers or their companies to make it to those news, right?
- 13:20We want them to make the news for good reasons like growth or whatever.
- 13:22But from a security perspective, it's very hard to get the authentication, right?
- 13:26It's very hard to get authorization, right?
- 13:28Especially if you're rolling it down yourself.
- 13:30And I've done this in the past.
- 13:31I am guilty of that.
- 13:32And I can tell you I've brought an awful system because I was learning as I was going and it was an internal app.
- 13:37So no big deal there.
- 13:39However, I just know how hard it is to do it yourself and do it right.
- 13:42Especially in the era of the internet where there are so many challenges out there.
- 13:47You put your app out on Azure or AWS, it becomes a public target whether you want it or not.
- 13:52You say that.
- 13:53But it's hard to appreciate how quick or how soon it becomes a target.
- 14:00So for example, if I open up any of my web apps, the training website or the podcast or whatever,
- 14:06and I just tail the log of like these are the requests coming straight into it.
- 14:10It's less than a minute before I see somebody requesting like admin slash like WP admin slash like login dot PHP or some other random like well-known access point just constantly.
- 14:23And the thing is not built in web WordPress, but it doesn't matter.
- 14:26They're just pounding on any open endpoint that they can find to just start hitting it.
- 14:31So when you say that, it's that's probably within the first minute, at least once it becomes a well-known.
- 14:36IP address that is a host.
- 14:38Yeah.
- 14:38There's a funny story that goes with that.
- 14:40Once my website runs on a ghost, which is a lightweight kind of a platform for creating blogs.
- 14:46And yeah, I was working on that.
- 14:48And a friend of mine said, why are you deploying manually the files?
- 14:51You should just put it on GitHub and then have a GitHub action that pushes it straight into Azure.
- 14:54I'm like, oh, that's a great idea.
- 14:55And I pushed my solution to Azure.
- 14:58Now inside ghost, there's a SendGrid section, which allows you to send emails if people subscribe or whatever.
- 15:04And I forgot the live settings in that file.
- 15:07So I pushed to GitHub.
- 15:08I put in the public repo.
- 15:09I go to sleep.
- 15:10I get up the next morning.
- 15:11I get an email from SendGrid saying you hit your, I can't remember.
- 15:15I think it was two, 25,000 emails limit.
- 15:18I was like, that's fantastic.
- 15:19I went viral overnight.
- 15:20That's brilliant.
- 15:21And then I continue reading the emails.
- 15:23Some of the reasons why this may happen is you disclose credentials, check your GitHub.
- 15:28And that point the light bulb went on and thankfully I was still on the free tier.
- 15:32So I didn't have to pay anything, but just the stupidity of me putting these things out there.
- 15:36And developers do it all the time.
- 15:37We see RSA keys on GitHub.
- 15:39We see SSA keys for secrets or API, whatever.
- 15:43We don't want developers to do that.
- 15:44And it's a very easy mistake to do.
- 15:46So there you go.
- 15:47It's super easy.
- 15:48And it is much like I spoke about, like within the first minute you publish your site, it's going to start getting hammered on.
- 15:55Have you guys heard of shgit?
- 15:57No.
- 15:57S-H-H-G-I-T?
- 16:00No.
- 16:00So this is a shgit.
- 16:02I think it's a play on like, oh my goodness, git.
- 16:05But also secrets git.
- 16:08It's a thing.
- 16:09I'll put it in the show notes or something.
- 16:10But it finds committed secrets and sensitive files across GitHub, GIST, GitLab, and Bitbucket, or your local repositories in real time.
- 16:18Wow.
- 16:19And so there's like a continuous stream.
- 16:21This thing, it hooks into...
- 16:23The public API for these things?
- 16:25It hooks into like the public API for like changes to public endpoints on GitHub, basically.
- 16:30And it just, yeah, it's the real-time feed API.
- 16:33And it just watches those.
- 16:35And anytime it sees something come in, it just grabs like the secret keys and the auth keys for...
- 16:41I'm looking at it.
- 16:42...Azure, AWS, GitHub.
- 16:43It's super disturbing.
- 16:46So, yeah, I mean, it's not like, oh, whoops, I have...
- 16:49Somebody found my repo and this happened.
- 16:51Like, no, it's like a live stream that was probably captured from that.
- 16:56And so it's not good.
- 16:58Well, I think the way we look at it is like security sort of starts with the identity.
- 17:02If you can't secure the identity, then your app sort of...
- 17:04Your app can never be secure, right?
- 17:06If you can't reliably know who people are and what they can do, so...
- 17:09Yeah.
- 17:09And it's worth throwing out.
- 17:10Like, you could end up on have I been pwned?
- 17:11Very likely.
- 17:12Not because necessarily identity directly, but SQL injection, other badness.
- 17:17But nonetheless, identity is the first gateway.
- 17:20So let's talk about identity.
- 17:22You know, when I hear about people talk about security, they say the three A's.
- 17:26And identity, even though it doesn't have an A in the word, maybe is part of that.
- 17:31We've got a fourth A, but I guess we'll start with the first three, right?
- 17:37All right.
- 17:37Tell me about the fourth A, because I only know where the three is.
- 17:39So I'm excited to hear.
- 17:40I'm going to learn something today.
- 17:41So we have authentication, right?
- 17:44So we need to know who the user is.
- 17:46So when we authenticate somebody, we say, hey, we know user ABC, John, is the John that we're
- 17:52expecting from a trusted provider or with certain properties.
- 17:56We can authenticate them correctly and in a way that we can trust.
- 18:00Right.
- 18:01The second big one is authorization.
- 18:03So authorization is all about, now that I know who John is, what can this person do in the app?
- 18:09What type of data can they?
- 18:11Right.
- 18:12Are they an admin?
- 18:12Can they create invoices?
- 18:14Can they view them?
- 18:15Are they just allowed to like, I don't know, something else?
- 18:18And what can they view?
- 18:19What can they do?
- 18:20What kind of actions can they take on that data?
- 18:22But then we get into auditing.
- 18:24So you know what's been happening.
- 18:26And that's the third A.
- 18:27So logging, be it identity system logging, your app logging, all of those logs and correlating
- 18:33them together so that you can either be alerted when something sideways is going on or so you
- 18:38at least know what's happened historically when you're investigating an incident or something
- 18:42like that.
- 18:43The fourth one is access control, which is actually enforcing control to what people have access
- 18:49to.
- 18:50And usually that falls to your app, but lots of different identity systems, third
- 18:55party identity systems have ways to enforce that access control themselves too.
- 18:58Right.
- 18:59You hear like exchange of claims, things like that potentially, right?
- 19:02Yep.
- 19:03Like the identity provider says you have this, that you claim this right or something, even
- 19:07though it's not necessarily built in your app, your app kind of trusts it.
- 19:09Right.
- 19:09And that's the whole point is a way for an app to say, I'm going to let somebody else do handle
- 19:14the authentication bit for me and maybe even the authorization bit.
- 19:18I'm going to let them do it and send you back to me with this package of data, some package.
- 19:24It could be a set of claims.
- 19:25It could be a JWT and claims in the JWT, but it could be something else completely opaque
- 19:31and arbitrary.
- 19:31It doesn't really matter how it's done or what the package looks like.
- 19:35What matters is that when you get it back as the developer, you can validate that it's
- 19:39true and that it's real.
- 19:40And it came from where you expected it to come from.
- 19:42This portion of Talk Python To Me is sponsored by Linode.
- 19:47Simplify your infrastructure and cut your cloud bills in half with Linode's Linux virtual machines.
- 19:52Develop, deploy, and scale your modern applications faster and easier.
- 19:56Whether you're developing a personal project or managing large workloads, you deserve simple,
- 20:01affordable, and accessible cloud computing solutions.
- 20:03As listeners of Talk Python To Me, you'll get a $100 free credit.
- 20:07You can find all the details at talkpython.fm/Linode.
- 20:11Linode has data centers around the world with the same simple and consistent pricing regardless
- 20:16of location.
- 20:17Just choose the data center that's nearest to your users.
- 20:20You'll also receive 24-7, 365 human support with no tiers or handoffs regardless of your plan
- 20:26size.
- 20:27You can choose shared and dedicated compute instances, or you can use your $100 in credit
- 20:32on S3 compatible object storage, managed Kubernetes clusters, and more.
- 20:37If it runs on Linux, it runs on Linode.
- 20:40Visit talkpython.fm/Linode or click the link in your show notes, then click that create
- 20:45free account button to get started.
- 20:49I'm starting to feel like these identity providers, they're almost like one of the first microservices.
- 20:54Yeah, for sure.
- 20:55They're like a separate place you go, but then your app sort of talks to them and so on, kind
- 21:00of before microservices were cool, before they were not cool again.
- 21:03But pretty interesting.
- 21:07So the four A's, access control there on the end, and the first A, I feel like that's
- 21:11identity, right?
- 21:12Who are you?
- 21:12Yeah.
- 21:13How do you prove to me you are who you say you are?
- 21:16Well, a complete system, like a complete identity provider will give you all four A's because
- 21:21just authentication is slightly incomplete.
- 21:23But yeah, you're right.
- 21:24I mean, when we talk about identity, maybe we refer to who you are to start with.
- 21:28Right.
- 21:29So that's a good question, right?
- 21:30Like, what does identity mean when you maybe are talking about like, well, what does our app
- 21:34need?
- 21:35What mechanism should we choose to provide identity, right?
- 21:39Like that, you got to be talking about the same thing so that you have to decide on the
- 21:44same trade-offs.
- 21:44I think that's worthwhile.
- 21:45True.
- 21:46So let's start at the beginning.
- 21:48Like, let's say mostly the beginning, I care about the first A and I just want something
- 21:53simple.
- 21:53So I'm just going to create a username password field.
- 21:55Like, this is still the most common way, I think, that logins happen on the internet.
- 22:00Oh, yeah.
- 22:01Yeah.
- 22:01There's a lot of people saying that the usernames and passwords are going away in different ways.
- 22:05I know.
- 22:05I think even Microsoft is working on something.
- 22:07You've got YubiKeys.
- 22:08Like, YubiKeys scare the daylights out of me.
- 22:11Like, I love the idea of the YubiKey.
- 22:12But what if I lose it?
- 22:14It's like a password vault, but I can't get it back.
- 22:18I know there's probably some mechanism where I can, I don't know, get it back.
- 22:22But there's other things other than passwords.
- 22:24But let's talk about username and password just for a minute.
- 22:26Because I feel like a lot of people are going to start there.
- 22:28Yeah.
- 22:28They're going to say, well, we're going to need users.
- 22:30So let's have them have a password.
- 22:32We're going to put up a dialogue or some kind of page that says, log in or create an account.
- 22:37Did you forget your account here?
- 22:38Enter your email address and we'll send you one.
- 22:41And that almost always has to be the very second feature.
- 22:45The very next feature you implement is, how do you reset your password?
- 22:49Because it's incredible how frequently people forget their passwords.
- 22:53Have you spoken to my wife?
- 22:55Because she drives me crazy.
- 22:57We have a password manager for the house.
- 22:59We use Bitwarden these days.
- 23:01And there are lots of different tools out there.
- 23:03Okay.
- 23:03But for the last 10 years, I'm trying to instill in her that she should not be using the same password everywhere.
- 23:08Yes.
- 23:08And when she doesn't do that, she doesn't record what password she uses.
- 23:12So she always resets the passwords when she needs to go somewhere.
- 23:15The problem is that not every site is optimized to respond real time.
- 23:19So you might say, I forgot my password.
- 23:20And then you don't receive an email for two hours or two days.
- 23:23So you can't use that site until you get the recent password email.
- 23:26So I'm trying to say to her, like, please don't do that.
- 23:29Just use our password manager.
- 23:30So lately, thank God, lately, in the last six months, she started using Bitwarden.
- 23:34Yeah.
- 23:34And then I checked her Bitwarden account.
- 23:36And I saw that most of the passwords were very small variations of the same password.
- 23:40Like, there's a way to automatically generate very long passwords.
- 23:43Yes, I know.
- 23:44Not the long passwords that John is using, because I think he's like 90 characters long.
- 23:48But for me, 24 characters randomized through a tool is great.
- 23:53Sorry.
- 23:53Yeah.
- 23:53Let's go back to resetting passwords.
- 23:55Well, I think what you're talking about is super interesting.
- 23:57A lot of people say that username and password are kind of broken and they're not going to work
- 24:01for the reason that you kind of just laid out with your wife.
- 24:03On the other hand, if you use something, so I use one password.
- 24:06We're a one password family over here.
- 24:08But people talk about the challenge of logging in.
- 24:11And I'm going to get to the developer side of this quick.
- 24:13But I just want to riff on this because it drives me crazy.
- 24:15Like, oh, this username and password, I can't use it.
- 24:17What I want is some kind of bio-authentication.
- 24:19I want a YubiKey or something like that.
- 24:20And to me, my experience of logging into a website is I go to the website.
- 24:25I hit command backspace.
- 24:26That auto fills it.
- 24:28Either it auto fills it or it'll say you have to log in.
- 24:30So I put my finger on the fingerprint reader on my Mac and then it auto fills it.
- 24:35So to me, my login is there's stuff that happens in the middle.
- 24:38That's usually like a 30 or 40 character thing that exchange with the site.
- 24:42But to me, it's I put my finger on my Mac and then I log into the site.
- 24:45Yeah.
- 24:46So that's an interesting thing, I think.
- 24:48Yeah.
- 24:48The user experience and security are sort of in direct conflict with each other, right?
- 24:53They often are.
- 24:55So when it's a miserable experience to add MFA, for example, like multi-factor to do your phone
- 25:02or YubiKey or whatever, when that's a miserable experience, nobody uses it.
- 25:06So like my parents literally have a physical book that they've written their passwords
- 25:10in.
- 25:11So in some ways, it's kind of, yeah, somebody's got to break into their house to get it.
- 25:14It's so interesting because people say you should never write down your password.
- 25:17Like the last thing I'm worried about is someone physically seeing my written password.
- 25:21And so, yeah, exactly.
- 25:23Like I am so paranoid of a virus or something getting into my computer or sniffing network
- 25:29traffic.
- 25:29Like the notebook actually seems pretty safe as long as you're not reusing the password.
- 25:34Yeah.
- 25:34To be honest.
- 25:35But they still reuse the password.
- 25:37And then like.
- 25:38Yes, that's the problem.
- 25:39Netflix.
- 25:40And not to call Netflix out specifically, but I encountered this a lot.
- 25:43I've got like some crazy password that LastPass generated.
- 25:48Apparently, we all use different password managers.
- 25:50I have some crazy password.
- 25:51Sorry, we can still get along.
- 25:52It'd be like a fight like from Anchorman or whatever.
- 25:55But I've got this, you know, 900 character password or something silly.
- 26:00And I went to a hotel and it's like, hey, use your Netflix account in the hotel.
- 26:04I was like, oh, that'd be fun.
- 26:05And then I hit the login button and it says, oh, type in your password.
- 26:08I'm like, no, I'm not going to type it in.
- 26:10Probably with the remote control.
- 26:12With the remote control.
- 26:13Right.
- 26:14So I immediately pulled the plug on that and said, well, I guess I'm just going to the
- 26:18bar or something instead.
- 26:19And but that experience is the same even when you're at home on your own TV.
- 26:23And so people end up shortening their passwords to something they can remember, something that's
- 26:27easy to type in on a remote control, which is why you see most of those services moving
- 26:31to a web based thing where you go to a specific website, type in a short code.
- 26:35And the one time code is what connects your account to your TV.
- 26:39Yeah, that's a nice system.
- 26:40Yeah.
- 26:40Because then all of those other things like, oh, you're we don't know who you are.
- 26:44You should use your multi-factor or you were going to send you a text message to make sure
- 26:48it's you.
- 26:48All that can happen on your phone and it doesn't have to be implemented for the device.
- 26:52Right.
- 26:53And then your phone already knows who you are.
- 26:54You're already logged in.
- 26:56So on the developer side of this username and password, I think the username and password
- 26:59story is pretty straightforward.
- 27:00And I don't know it's necessarily to be discounted because for a lot of simple things, it kind
- 27:05of it does make sense as opposed to a Facebook login.
- 27:08But it's not it shouldn't be discounted.
- 27:10But the challenge there is that it is not just the username and password that you need to store
- 27:15somewhere and then bring back and validate that when the user inputs the username and password,
- 27:20it's the correct one.
- 27:21It's all the other things that happen around that.
- 27:23So for example, password reset, how do I do my password reset?
- 27:26So as a developer, now you have to implement it.
- 27:28Yeah.
- 27:28Adding MFA.
- 27:29I'm not joking.
- 27:30It literally gets used like the first 10 minutes you launch an app.
- 27:33Yeah.
- 27:33Right.
- 27:34Exactly.
- 27:35You're just gone here.
- 27:37It's never existed before.
- 27:38Why are you resetting your password?
- 27:39But no, it happens.
- 27:40Yeah.
- 27:41That one.
- 27:43And then it's the MFA if you want to do that.
- 27:46And if you want to add a notification, so you have to integrate SendGrid or whatever tools
- 27:50you want to use.
- 27:51Yeah.
- 27:51So it shouldn't be discounted, especially if you're writing a simple app.
- 27:54But at the same time, like I tried when I went back in 2007, I was implementing that solution
- 27:59I mentioned before.
- 28:00I had to implement incremental backoff for if you enter your password too many times and
- 28:05then you're not the right one, then you have as a developer to manually roll that aim.
- 28:10Now, how do you do it efficiently and how do you protect your app from...
- 28:14In fact, I was listening to Troy's podcast back then.
- 28:17I was like, oh, yeah, he's got some blog post that explains how to do it and why you should
- 28:20be doing it.
- 28:20Right.
- 28:21Let's go and do that.
- 28:22But if I hadn't heard Troy saying that, then my website would be viable to or prone to a
- 28:29password spray attack or a brute force attack.
- 28:30Yeah.
- 28:31So...
- 28:31Yeah, for sure.
- 28:32Absolutely.
- 28:32You can do it, but it just requires a lot of steps beyond just a simple username password
- 28:38implementation.
- 28:38Yeah.
- 28:39So I think we're going to move off of this one and to the next level.
- 28:41But before we do, I just...
- 28:44I would feel remiss if I didn't talk about passlib in the Python space.
- 28:47Passlib is so incredibly awesome.
- 28:50Because another thing that you got to talk about is how do I store that password?
- 28:55It had better not be in a VARCHAR 16, the length of my password and just going straight
- 29:01in there, right?
- 29:01It had better be at least hashed.
- 29:04Yeah.
- 29:05And not with MD5, but with a complex hash like bcrypt or a SHA512 or something like that.
- 29:11Then you probably need to mix in salt, which is instead of just hashing the text, you also
- 29:15hash like a random other bit of text.
- 29:18So you can't do rainbow lookups on it, rainbow tables.
- 29:21And then you need that to be computationally expensive for guessing, just like you were
- 29:25talking about, right?
- 29:26So passlib is awesome because it does all those things, but then it also folds the hash back.
- 29:31So when you say hash this, it doesn't do it once.
- 29:33It creates the salt, it hashes it.
- 29:35And then it does it by default 150,000 times, takes the output, feeds it back in, takes the
- 29:40output next time, iterates it 150,000 times.
- 29:42That's the answer.
- 29:43So it's computationally expensive to guess if you ever have, which is beautiful, I think.
- 29:49So if you're going to go down it, consider if not using passlib, the ideas encapsulated
- 29:55in it as a really good idea.
- 29:57Yeah.
- 29:57I mean, the net of that, and probably the theme you'll hear over and over from us today is
- 30:02don't write that library yourself.
- 30:04Yes.
- 30:05Don't write your own passlib.
- 30:08Let people who understand the cryptography behind making it computationally expensive, let
- 30:13them do it because there are a whole lot more eyeballs and a whole lot more sort of skill
- 30:18sets involved in getting those libraries out the door than anyone.
- 30:22We shouldn't expect a developer who's building an app to necessarily be super, super deep on
- 30:28what's the best hashing algorithm for me to use for a password or God forbid, try to implement
- 30:34it on their own because it's just, there's too much risk for bugs.
- 30:37And in fact, so many of the breaches that we see, they end up pointing back to some homegrown
- 30:43system that was either completely built from the ground up to be sort of rolled on their
- 30:47own or was maybe used a library here or there, but ultimately had some sort of critical flaw
- 30:53in the path of hashing passwords.
- 30:55Right.
- 30:56It may start with one of these, well, I don't trust that third party library to do
- 30:59our encryption.
- 31:00That's exactly how it starts.
- 31:03That's always how it starts.
- 31:04It's the same with the frameworks, right?
- 31:05I don't trust the .NET framework.
- 31:07I'm going to roll out my own framework on top of .NET just to prove you guys.
- 31:10Yeah.
- 31:11Yeah, exactly.
- 31:12Yeah, exactly.
- 31:13For sure.
- 31:14There are one silence just to finish on this one.
- 31:16I don't mind people building their own stuff, like their own username and passwords using
- 31:21existing libraries, but it does require some basic knowledge of certain things.
- 31:26Like today you can walk into a room of developers and ask them to explain the difference between
- 31:30encryption and hashing and half of them will get it wrong.
- 31:32Yeah.
- 31:33Because I've been in companies where they say we have secure passwords, we're encrypting
- 31:36them.
- 31:36And like, no, no, that is not secure.
- 31:39And let me explain why.
- 31:41So yes, do it if you want to play with that, but just make sure you know that the terminology
- 31:45and what you need to do.
- 31:47Yeah.
- 31:47That's always an option.
- 31:48A huge red flag for me is when I go to a site.
- 31:51Yes.
- 31:51And it says it has an upper bound on the length of the password.
- 31:54Yes.
- 31:55The password has to be less than 16K.
- 31:57It's like, wait, wait, wait, wait, wait.
- 31:58Because when you hash it, it's always the same size.
- 32:02It doesn't matter how big the input is.
- 32:03Exactly.
- 32:04Yep.
- 32:04So you must be mapping that text to something where it directly relates to the size of it.
- 32:09This is disturbing to me.
- 32:11Yeah.
- 32:11What's worse?
- 32:12It's when it's the company you pay your mortgage to every month.
- 32:14Oh.
- 32:15Yep.
- 32:15Oh, my bank has like a 12 character limit.
- 32:18I'm like, what is going on?
- 32:20Mine's the same way.
- 32:21This is insane to me.
- 32:22It needs to be between eight and 12 characters.
- 32:24It's like eight and 12.
- 32:25Way to reduce the attack space considerably for the person guessing passwords.
- 32:29Jeez.
- 32:30Exactly.
- 32:31Why don't you just tell them my social security number?
- 32:34All right.
- 32:34All right.
- 32:35So I want to talk about some of the other stuff where you sort of delegate or transfer some of this identity, maybe to a federated identity or some sort of social authentication or just a central identity service that you have at your company that then powers your other apps.
- 32:52And there's a bunch of different pieces in here.
- 32:55And I have no idea where to fit them together, honestly.
- 32:57We have OAuth.
- 32:58And there's OAuth 1.
- 33:00And then that became sort of outdated.
- 33:02So there's OAuth 2.
- 33:03And then we have OpenID Connect.
- 33:05What's the relationship?
- 33:06All these things.
- 33:06Like, where do these fit into the world?
- 33:08You guys tell me about this.
- 33:09Tell us all about this.
- 33:10So OAuth 1 was the first attempt at a way for two systems that don't have any sort of inherent trust between them to talk to each other and have a little bit of trust.
- 33:22And it was all centered around a user.
- 33:24And so a user would say, hey, I want to give app ABC access to my data that's in app 123.
- 33:31Very much like on your cell phone when your cell phone pops up and says, hey, this app wants access to your contacts.
- 33:37Do you want to allow this to happen?
- 33:38Right.
- 33:39It's a very similar sort of mechanism.
- 33:41And then OAuth 1.
- 33:42But over the internet instead of like on the phone.
- 33:44That's right.
- 33:45But yeah.
- 33:46And OAuth 1 was sort of quickly invalidated.
- 33:48And then we had 490 or some ridiculous number of drafts of OAuth 2.
- 33:53And then we finally got to OAuth 2.
- 33:54But the thing about OAuth 2 is that it's purely an authorization framework.
- 33:58It's all about giving app 123 access to app ABC's data.
- 34:03It has nothing to do with the user, actually.
- 34:05So you're not doing any authentication there.
- 34:07The system is authenticating the user because it needs to know to whom you're giving access to your data.
- 34:13But the application itself that you're using, say, the mobile app on your phone, doesn't actually know who you are in OAuth or OAuth 2.
- 34:21It can access your data and it can infer a lot of things about you.
- 34:25But the identity system is not actually telling you who they are.
- 34:28So OpenID Connect is sort of a superset of OAuth 2.
- 34:32And so OpenID Connect gives an application that extra token that says, hey, this is user ABC and this is their first name, last name, email address, you know, whatever properties that you want to send over.
- 34:43And it's specifically intended for authentication to happen.
- 34:47Okay.
- 34:47Yeah.
- 34:48Very cool.
- 34:48What are some of the use cases, like concrete examples maybe that you see out in the world of these?
- 34:53So we'll start with OpenID Connect because that's, in some ways, it's the more simple one.
- 34:58It's the more basic one.
- 34:59Yeah.
- 34:59OpenID Connect is used for signing a user in to a web app, to a mobile app, whatever.
- 35:03So let's say I've got a, let's say, let's say I'm going to my office mailbox in Office 365.
- 35:09We might as well use a real example.
- 35:11At least a few people have those mailboxes.
- 35:13So we'll use one of those.
- 35:14And so when you go to, when you try to go to Office 365 and sign in, it asks you for your username and password and you type those in.
- 35:20And then those go off to what we have, which is Azure AD, some sort of centralized directory service.
- 35:26That centralized.
- 35:28This is super common in large enterprises.
- 35:30They've got an active directory that like owns the definition of identity for like the whole company and everything somehow has to talk to it.
- 35:37Yep.
- 35:37Or same with your Gmail, right?
- 35:39Let's use Google and let's use Gmail because that's probably, that's going to remove the confusion of organizational stuff for the moment.
- 35:45So I'm just a guy with a Gmail account and I go to sign in.
- 35:49Gmail itself is not actually doing any authentication because Gmail is one of 5 billion apps that, that Google has.
- 35:57That they haven't deprecated yet.
- 35:59So yeah, maybe next year.
- 36:01There's a great Twitter account called what is Google killed or whatever.
- 36:05I don't remember exactly what it was.
- 36:06It started after reader.
- 36:08I think reader was the, that was the tipping point for a lot of people.
- 36:10Anyway.
- 36:11So when I go to Gmail and I type in my username and password, it's the same experience every time.
- 36:16I see that same classic Gmail or Google sign in window in the middle of the screen.
- 36:20And I type in my username and type in my password.
- 36:22And it's like accounts.google.com I think is the actual website.
- 36:26And accounts.google.com plus this long URL that comes after it.
- 36:31The part of that path of the URL is what has all the bits of data that the Google authentication system understands to know you're trying to go to Gmail.
- 36:40So when I go and type in my username and password, the Google account system is the thing that checks my username and password.
- 36:46It also checks the request and says, oh, you're trying to go to Gmail.
- 36:49So I'm going to send you back to Gmail.
- 36:52I'm going to redirect you to mail.google.com, for example.
- 36:55And I'm going to have a specific chunk of information that I send along with you.
- 36:59And usually it's in the form of an ID token, ID underscore token.
- 37:03Okay.
- 37:03And inside that ID token is a bunch of data for the application.
- 37:08So in this case, Gmail to go look at and say, oh, okay, I know who this user is.
- 37:13So I'm going to go look at my application database and pull back email and pull back tags and that sort of thing.
- 37:19And so that's OpenID Connect.
- 37:20And that's purely for getting signed into an application.
- 37:22So now we're signed in.
- 37:23So Gmail knows who I am and they can start showing me my email.
- 37:26Right.
- 37:27There's probably not really many rules around what you're allowed to do.
- 37:30Like Gmail users just do this.
- 37:32Right.
- 37:32All right.
- 37:33They read their email.
- 37:34They send email.
- 37:34But just what data do you have access to?
- 37:37Not can you administer Gmail for other users and stuff like that?
- 37:41Like that's not a thing.
- 37:42Right.
- 37:42Better not be a thing.
- 37:43Well, and so sort of as a part of that, though, is that there may be an administrative interface in Google.
- 37:49You may have access to somebody else's mailbox.
- 37:51You may have access to something, some extra functionality.
- 37:54Yeah.
- 37:54And like the business version of Google, their apps, Google apps.
- 37:58Yeah.
- 37:58So once you're signed in, Gmail itself, the Gmail app doesn't know my username and password for Google.
- 38:06It doesn't.
- 38:06I never gave it to Gmail directly.
- 38:08I give it to the Google account system and the Google account system authenticates me and checks my password and maybe prompts my phone or whatever.
- 38:16And then it sends back this blob of data to Gmail.
- 38:19And because Gmail trusts the Google account system, it can validate that, oh, the Google account system actually wrote this, actually wrote this token because it's got their signature on it and make sure that it's valid.
- 38:31And then let me into my email.
- 38:33That validation process is fairly standard for most things, for most JWTs, for example.
- 38:39See, I can't talk about Google with a Google phone sitting next to me because it thinks I'm talking to it.
- 38:44Here's some things I found for you.
- 38:46Let me check that on the web.
- 38:47Sorry, I can't do that right now.
- 38:50That's probably the most common response.
- 38:51But the thing about it, though, is that Gmail system has to validate that the token came from the Google account system.
- 38:59And typically we do that in the JWT world where you get a JWT, a JSON web token.
- 39:04Typically, those are signs.
- 39:06So there's a cryptographic signature that sits at the end of that.
- 39:09And the identity system, the Google account system, for example, publishes enough data for Gmail to go and check that key and make sure that it was signed actually by the Google account system to say, yeah, we know that this came from the Google account system, so we can trust it.
- 39:24All right.
- 39:24That way, you know, it's not being faked or man in the middle sort of thing.
- 39:29But then you already trust that service and then you can verify everything you got from it was not tampered with.
- 39:34That's right.
- 39:35Cool.
- 39:35All right.
- 39:36Let's go next to federated identity.
- 39:37So what you've talked about so far is one app doesn't want to do the identity management itself because how painful would it be to log into your Google calendar with a separate account to your Google Docs with a separate account?
- 39:51Right.
- 39:52You just want to have a Google account and then log into these things.
- 39:54But a lot of times there might be some app that is calling, say, an API, and then that API wants to call another API carrying forward that same identity or something along those lines.
- 40:06Right.
- 40:06I want you to be able to log into that system, which then allows you to log into effectively delegate that identity to an external system.
- 40:12I'm like, I don't know if this actually works, but I want to log into my corporate account, which then allows me to log into my business Dropbox account by just virtue of being on the network.
- 40:22Right.
- 40:23Or I want to be able to log into my corporate account and then take Talk Python courses by just passing that identity along through federated identity.
- 40:30Right.
- 40:30Yeah.
- 40:31Correct.
- 40:32Well, the key is you're never passing the identity along.
- 40:35And logically we are, but technically you never are.
- 40:39So let's go back to Google for a second, to Gmail.
- 40:41Okay.
- 40:42So your Gmail has the option to connect to your Outlook and pull your Outlook email into Gmail.
- 40:47So when the Gmail front end, when the app that you're using needs to connect to that service, that service is going to require some kind of authorization from the user.
- 40:57For the user to say, yeah, I want the Gmail app to be able to go and talk to, or to be able to read my email.
- 41:03In order to do that, when we're calling the effectively the Outlook.com API, for lack of a better term, we need the user to go and approve that request and say, yeah, I want to do that.
- 41:13Which is typically called consent.
- 41:15And so when a user consents, they get the window that says, hey, would you like to allow app 123 to access your data in this service?
- 41:22In this case, would you like Gmail to be able to access Outlook?
- 41:25When you click allow or yes, that's okay.
- 41:28That's when a new token is issued.
- 41:31So you as a developer of the Gmail application, you go and talk to the identity system for the other party.
- 41:38So in our case, Azure AD and Outlook.com and say, hey, please give me a token for user 123.
- 41:45And so if the user has gone through and authenticated correctly, that first API, the Gmail API for if we want to call it that, that goes through a round sort of a back and forth with the other authentication system and says, hey, this is what the user provided.
- 42:00Please give me a token for this next service.
- 42:02And so each step in that service is typically called a sort of a that's a more of a traditional OAuth.
- 42:08But each one of those steps needs to have its own token to talk to those downstream services.
- 42:14Because if I tried to reuse a token for a different service, in most cases, most properly built OAuth services and APIs will reject that token and say, no, I didn't issue this token for you.
- 42:26I issued it for this upstream service that you're trying to call.
- 42:29Right.
- 42:29OK.
- 42:30And what kind of systems can you use to set up that the federated identity?
- 42:35I know Azure has some federated identity thing like what that and what else?
- 42:39There's Azure AD, of course, we offer.
- 42:42There are others like Okta and Auth0 that are all sort of identity as a service.
- 42:46So those are service providers who are offering a full holistic SaaS type thing, software as a service where.
- 42:53Yeah, I'm on the fence about Auth0.
- 42:55It looks interesting to me, but the pricing model looks like it could get out of control pretty quick for a lot of scenarios.
- 43:01But it looks nice.
- 43:02Every time I've looked at it, I've always been curious to the pricing, but I can't say too much because we work for competitors.
- 43:08I don't want to say anything about it.
- 43:10Yeah, you don't have to say anything.
- 43:11But it's like you pay a little bit like the mail list companies like MailChimp and Drip and ConvertKit, all those things.
- 43:21You're like, this should be pretty affordable.
- 43:22And then all of a sudden you're like, why am I paying $400 a month just to have emails?
- 43:26Yeah.
- 43:26Maybe I should switch.
- 43:27Oh, that one's $500.
- 43:28So once you kind of get into these realms, I don't know.
- 43:30I mean, I can't say exactly what it is, but it sort of felt to me like that.
- 43:34Yeah.
- 43:35Yeah.
- 43:35Anyway, sorry, it's a bit of a diversion, but.
- 43:37No, it's okay.
- 43:38A lot of it depends on what the key is for pricing.
- 43:40Like the way that we bill is for certain features, the way that other providers bill might be for certain like number of users or number of applications.
- 43:50There are all sorts of different metrics that the different providers bill on.
- 43:53And it just kind of depends on what you're doing as to which one of those metrics makes the most sense.
- 43:57Yeah.
- 43:58Yeah.
- 43:58And just to like set the context for people, I didn't want to be fair to Auth0, but also let people know.
- 44:02So I just looked at their pricing.
- 44:04They're up to a thousand users, which is not a lot.
- 44:07Like if I, you know, like Talk Python Training is way more than a thousand users, $23 a month.
- 44:12But just 5,000 active users is $1,000 a month for identity.
- 44:16Oh, that is a lot.
- 44:18Like if it's, yeah, if it's over 7,000, like you got to get in touch.
- 44:21So anyway, that's a high burden to carry on top of like your other expenses and trying to run a business when you're starting out or whatnot.
- 44:29So anyway.
- 44:30Yeah.
- 44:30That's what I thought when I was thinking of that.
- 44:32I guess in fairness, I should say that our consumer identity product, which is called Azure ADB2C, your first 50,000 monthly active users are free.
- 44:40Yeah.
- 44:40So you can start using that immediately.
- 44:42And once you have 50,000 monthly active users, maybe you've got a good problem anyway.
- 44:47And spending, you know.
- 44:48Yeah, exactly.
- 44:49Spending a couple of bucks on an identity system won't be a big deal.
- 44:52Yeah, for sure.
- 44:52And one of the things about these systems is that the convenience that you get of not you having to manage the deployment, the maintenance and the scalability of the system.
- 45:01So whichever identity provider you go to, depending on your choices, hopefully you'll come with us.
- 45:06But, you know, that's not a prerequisite.
- 45:07I would rather have a developer say, you know, we're going with X provider because we want to do right rather than us having to go and put out fires because they did their own thing.
- 45:16But whatever you do, there's always this kind of a trade-off where I don't have to roll it out myself.
- 45:22And I know that these companies are dedicated to doing that.
- 45:25And you get to pay a little bit more to get that convenience out.
- 45:29So security is always this kind of a trade-off where do I pay for it?
- 45:33And there's no 100% security.
- 45:34So as close to 100% you get, that's great.
- 45:37Yeah.
- 45:37And it's with everything.
- 45:38I think where the really interesting value comes in is the integration between other identity providers, right?
- 45:45Like you can kind of do username, password yourself all you want and it's okay.
- 45:48But like once you're like, well, we're going to talk to this system and then we want to integrate with their identity.
- 45:52Like all of a sudden it explodes in complexity.
- 45:54And we were talking about, you kind of got to do a little work to do your own username, password stuff.
- 45:58You should never try to do this.
- 46:02Like the cryptographic exchanges and stuff in the back and forth.
- 46:05It just, it's insane.
- 46:06Some of this.
- 46:07So like, you don't want to mess with this, right?
- 46:09Yeah.
- 46:09Not by hand.
- 46:10I had a customer I worked with a while back and they had a really old legacy app that was ColdFusion 10 and couldn't be moved past ColdFusion 10.
- 46:19Impressive.
- 46:20Yeah.
- 46:21I was impressed it was still running, but they still had a server that would run that.
- 46:24But the thing is, ColdFusion 10 went out of support before OpenID Connect became a standard.
- 46:30So there are no libraries for OpenID Connect.
- 46:32So we helped them write one.
- 46:34And it's not for the faint of heart.
- 46:37I mean, there's a ton of signing and cryptographic signatures that happen, both signing the tickets themselves and then reading them to make sure they're okay.
- 46:45And it's certainly not something I'd want to do on a regular basis.
- 46:48It's a high stress, high stress job, built writing identity code.
- 46:51Yeah.
- 46:52It's super frustrating to debug that stuff, too.
- 46:54It's like, we don't validate the certificates.
- 46:57Like, oh my gosh, why?
- 46:58What is going on?
- 46:59Anyway, like, I don't want to bring back pain.
- 47:01So I'll go to a separate therapy session for this.
- 47:05We should offer separate therapy sessions as a service.
- 47:09Yes, you should.
- 47:10For identity developers.
- 47:12All right.
- 47:12So let's make this concrete for everyone out there and doing Python programming.
- 47:17There's a host of libraries that are available for you.
- 47:21You could just pip install them and then go integrate them into your apps.
- 47:25Not necessarily for the username password story.
- 47:28Like, that's built into Django.
- 47:30I talked about pass love and, like, integrating that's pretty easy.
- 47:33But, you know, things like OAuth, OAuth2, and OpenID Connect and whatnot.
- 47:37So one of my favorite places, when I have no idea what I'm doing in a corner of Python,
- 47:41is to go to awesome-python.com.
- 47:44And those are not all of the libraries in an area.
- 47:48But those are libraries that have gotten submitted a certain number of times.
- 47:51And once they cross a threshold, they're, like, popular enough to be in there.
- 47:54There's my understanding how that place works.
- 47:56So anyway, it's, like, kind of the popular recommended libraries.
- 47:59And they have an authentication section.
- 48:00So they've got an OAuth and a JWT section in here.
- 48:05So let's just talk about some of the ones that you might use.
- 48:08I mean, let's start with the Microsoft one,
- 48:10because you guys have an interesting B2C and Azure AD library for Python, right?
- 48:14Yeah, that's correct.
- 48:16I mean, for us, if you are going to use our identity system,
- 48:20then there are two choices.
- 48:21And because we're built on top of open standards,
- 48:24we give you choices in how you interact with our system.
- 48:27Now, if you are fairly new to our identity system
- 48:30and you haven't done any authentication before,
- 48:32then we do give you MSAL for Python or MSAL for whatever ecosystem you want, right?
- 48:36So it's not just Python,
- 48:37which follows the same standards that you should be following
- 48:40and comes out of the box.
- 48:41It comes with samples and everything else.
- 48:43However, since we are abiding to open standards,
- 48:46there's a number of other auth libraries out there.
- 48:49And as long as they're OpenID compliant and OAuth compliant,
- 48:53then you can use your own thing.
- 48:54So you can bring your own libraries or you can use our libraries.
- 48:56We just want to make it easy to get off the ground and implement the solutions.
- 49:01So MSAL is the recommended for us if you're coming to Microsoft as a fresh greenfield project.
- 49:07But there's a list of other ones like Authlib, Django, Auth.
- 49:11There's a whole list, right, of other solutions there.
- 49:15Yeah.
- 49:15Yeah.
- 49:16So there's a couple for Django.
- 49:17I feel like Django has the biggest advantage here.
- 49:20There's a lot of ones that are just like plug-in middleware type of things.
- 49:24Whereas if you're in Flask or Pyramid or something else,
- 49:26you kind of a lot of times you're like,
- 49:28all right, well, how do I take this random library and integrate it?
- 49:30So we've got Django-Oauth, which has the moniker JustWorks for authentication in Django,
- 49:38which is nice.
- 49:38Nice.
- 49:39It has all the authentication, right?
- 49:40There's Django OAuth toolkit.
- 49:43And it says it'll help you provide out-of-the-box endpoints, data logic,
- 49:48to add OAuth to capabilities to your Django projects.
- 49:51I think both, maybe both ends actually as a provider as well, which is pretty cool.
- 49:56You've got one that looks really flexible called OAuth Lib.
- 49:59And this one's nice because it's a generic OAuth library, not just for, say, Django.
- 50:03But the problem with the generic ones is you kind of got to understand,
- 50:07like there's the six chains.
- 50:08There's like these five callbacks.
- 50:10You've got a hook or whatever, which is a pain.
- 50:11Yeah.
- 50:12You don't want that.
- 50:13You want just like, I do this and then I get the user.
- 50:16So what they did is there's a bunch of people who have built wrappers for common frameworks.
- 50:20So there's a Django OAuth toolkit, which wraps that.
- 50:24There's the Flask OAuth and Flask Dance, which wrap this one.
- 50:29There's Pyramid-OAuth Lib, which wraps it for Pyramid and Bottle.
- 50:32And it says if you have another library like Sanic or whatever, some other random web framework,
- 50:37and you want to add that, you could write a thin wrapper around OAuth Lib and then add that
- 50:42to your framework.
- 50:43So that's pretty cool.
- 50:43Yeah, I think our library, we tried to balance sort of the Pythonic idioms so that it makes
- 50:50sense if you're looking at it, if you're familiar with Python, that when you come to the library,
- 50:53it makes sense how you use it, how you import it, how you integrate with it.
- 50:56But our focus has been really strong on know how to use the library and not necessarily having
- 51:02to be a super deep protocol nerd to understand how to use it.
- 51:07So most of the API surface where our library is fairly, it's fairly light.
- 51:12It's sign in user, get token quietly and get token by prompting the user.
- 51:18There really aren't that many protocol details that are leaked out of there.
- 51:22That's good.
- 51:22Because, yeah, we want it to be as close to a just work kind of a scenario as we can.
- 51:28And when you've got OpenID 7 and OAuth 9, you can just keep the same API.
- 51:33Exactly.
- 51:33Well, a great example.
- 51:35So for a long time, there's been something called the implicit flow in OAuth.
- 51:39And the implicit flow was the least secure flow of all of the ways you can use OAuth.
- 51:44And there's a new thing, authorization code with PKCE, you hear called Pixie a lot, where
- 51:50you don't need to worry about what the flow itself actually does.
- 51:53It obviates the need to use the implicit flow.
- 51:57So in apps where you have to use implicit today, you can use this Pixie-based flow tomorrow.
- 52:01And we updated our libraries to use that.
- 52:06And we were working on a JavaScript app the other day, and we upgraded the package.
- 52:10Nothing else changed.
- 52:11Then we started using Pixie, and we didn't have to change a line of code, which was awesome.
- 52:15We just upgraded the package.
- 52:16So yeah, that's super cool.
- 52:18Yeah, nice.
- 52:18So our maintainers do what they can to keep the API surface as generic and consistent as
- 52:24possible in the sense that it's very focused on what do you need to do rather than how does
- 52:30it need to be done?
- 52:30Right.
- 52:31Okay.
- 52:32Yeah, that sounds great.
- 52:33So one other place I want to give, one other library-ish, I guess library framework, I want
- 52:37to give a shout out to in this space is FastAPI.
- 52:41So for me, FastAPI is the hot new API framework in Python these days, right?
- 52:48It's got fantastic support for async and await.
- 52:51It's got really cool support by taking Pydantic data exchange models with validation and automatically
- 52:57binding like a JSON post over to it.
- 52:59But it also comes with OAuth 2 scopes directly built in.
- 53:03So it lets you work with more fine-grained permissions and do many of the big integrations
- 53:09with providers like Facebook and GitHub, Microsoft, they call it explicitly.
- 53:13So yeah, so that's kind of built into the API there, which is pretty cool.
- 53:17That's cool.
- 53:18Yeah.
- 53:19And I think because we're standards-backed, if a library is implementing OIDC, OpenID Connect,
- 53:24or OAuth 2 to spec, they should work with our system and any other system really without
- 53:29having to make any changes.
- 53:30It all just comes down to configuration.
- 53:31And it's also worth noting too that an API developer, someone who's building an API, their
- 53:37concerns are going to be a little bit different than someone who's building, say, a web app that
- 53:41consumes that API.
- 53:42Because an API, I don't necessarily need to log into an API.
- 53:47I need to validate a token that's coming in from some other client, a web client or a
- 53:52mobile client or whatever.
- 53:52And so the things that I'm concerned about more are, can I validate that this is a real
- 53:57token?
- 53:57And then what does the token allow this user to do?
- 54:00Which is just a different set of concerns than say, I'm building a front-end web app and
- 54:05I need to let a user sign in and then determine what they need to do and call APIs.
- 54:09Yeah.
- 54:10Because one of those, you're just receiving something you need to check.
- 54:12And the other thing, you need to handle the actual acquisition of one of those tokens.
- 54:16Right.
- 54:16Which can get tricky.
- 54:17Like that provider over there said their email address was this.
- 54:20So I'm going to assume that I can identify them by that.
- 54:23But is that really their email?
- 54:24Because they could have lied to that place.
- 54:26There's a lot of interesting stuff there.
- 54:28So I think this gives us a pretty good range of the world in this identity space and some
- 54:34of the libraries we can use.
- 54:35But I definitely want to have a short conversation, especially with you, Christos, because we went
- 54:42off on this before we hit record about depending on basically social media for your identity
- 54:49in other places.
- 54:51Right.
- 54:51So that's, I want to go, like you go to places, you can create an account with a username or password,
- 54:56or you can use Facebook, or you can use Twitter, or you can use Google, or you can use Microsoft
- 55:02or whatever.
- 55:03How does that make you feel?
- 55:04You like it?
- 55:05You're a fan?
- 55:06I am partial to it, as we were discussing before.
- 55:09I think it's a great convenience.
- 55:11If you are creating a consumer app, you want your consumers to be able to log in.
- 55:15So let's say your Walmart or whichever account, you want people to come into your shop and buy
- 55:21with great convenience.
- 55:22And I know a lot of people just don't use the right tools.
- 55:24So they don't want to go and create a username and passwords for every single website.
- 55:27However, yeah.
- 55:29All right.
- 55:29They have these thoughts like, oh, if I'm going to create an account here, how can I trust this
- 55:34random thing on the internet to not like get hacked or lose my password?
- 55:37Exactly.
- 55:38To me, I don't feel that way because it's a 40 character randomly generated thing.
- 55:43True.
- 55:43If it gets lost, whatever, right?
- 55:45But anyway, yeah, carry on.
- 55:46Yeah.
- 55:46But you're right.
- 55:47I mean, I tend to avoid using my social media accounts for logging in.
- 55:51First, because I don't remember which one I use where.
- 55:53And that means that if I go to a site I haven't used in a year, like, did I use Google or did
- 55:59I use Facebook?
- 56:00And every time you actually go back and use a different social media account, it creates
- 56:04a new account for you.
- 56:05So you might log in with a new account and suddenly like, where's my basket?
- 56:09Where are my orders from last year?
- 56:11And what have you?
- 56:12So it's a little bit confusing.
- 56:13Right.
- 56:13So a year ago you went in there and you said, ah, I feel like Twitter is the one I want to
- 56:17use.
- 56:17Yeah.
- 56:17Right.
- 56:17So you said Twitter.
- 56:18And you created an account and it knows your Twitter.
- 56:20And then you go back here and you're like, gosh, I could log with Twitter, Facebook,
- 56:23GitHub with all this.
- 56:25Probably I chose Facebook and that is a totally different account.
- 56:28It's as if you used a different username and password and you're like, well, what is this?
- 56:33Right.
- 56:33There's no, it drives me crazy.
- 56:35There's no real record of that unless you hunt through like your authorized apps and your different
- 56:39social media platforms to find it.
- 56:41Correct.
- 56:42So I can see the convenience there.
- 56:44And I know that some people like to sign everywhere with their Facebook account and they only have
- 56:48that one.
- 56:48But at the same time, it creates a bit of a lock in.
- 56:50So if I decide to delete my Facebook account for whatever reason, if I decide to stop using
- 56:54Google from now on, then that means everywhere I sign with my Google account is now not accessible
- 56:59anymore.
- 56:59So I have to go and create a brand new identity for me.
- 57:02So to people that like to use them, I would just say approach them with caution, but they're
- 57:06more secure, right?
- 57:07So you don't have to create a username and password all the time.
- 57:09They do bring that access token to the app.
- 57:11They do that secure exchange that we talked about earlier on.
- 57:14So Facebook now is a trusted provider for my identity into the new system, which reduces
- 57:19the amount of passwords.
- 57:20But if you use the right tools, like a password manager out there, then I don't think that
- 57:23should be an issue.
- 57:24So I agree.
- 57:26The danger is like, you're not going to have your password dumped on have I been pwned and
- 57:31like haste bin and other random places.
- 57:34If it gets hacked, if you use say face, let's just pick Facebook login, use Facebook.
- 57:39But if you authorize 50 different websites with Facebook and your Facebook account gets
- 57:43hacked.
- 57:43Yes.
- 57:44All of a sudden, like you've got a list of these are all the apps that you also can use
- 57:48if you break into this one, right?
- 57:50So there's like this, there's a bigger wall.
- 57:52But if you scale it, there's a larger pile of goodies for the hackers to get ahold of on
- 57:57the far side of it.
- 57:58I tend to fall on the side of I might use a social login, but I usually create a username
- 58:03and password either first if the site supports it or after I've done a social login.
- 58:08Because that way, like I deleted my Facebook account the other day and then I had to create
- 58:13it again, which was really made me sad.
- 58:15But like, but me and my old account is totally gone.
- 58:19And so anything that I had authorized there would be gone.
- 58:21And Facebook's also a little bit of different of an identity provider because there are a
- 58:25lot of apps that are a little bit malicious because you get a lot of data on Facebook.
- 58:28And so for a while, it was sort of the wild west of, oh, you can sign in with your Facebook
- 58:32account.
- 58:33And then I'm also going to pull your friends list and your photos and all these extra things.
- 58:37Yes, exactly.
- 58:38So, you know, it's our privacy policies.
- 58:42We work with this.
- 58:43Oh, God, in the UK, but there's like some analytics.
- 58:47Yeah, I don't know.
- 58:48I mean, I forgot the name of the cup, but the whole one that around the DNC and not the DNC
- 58:52hack, but like, oh, yeah, Cambridge, the one that happened like around there.
- 58:56Yeah.
- 58:56Cambridge Analytica.
- 58:57Yes, Cambridge Analytics.
- 58:59Yes.
- 58:59Yeah, we just we don't share much.
- 59:01We just share a little data with them and it's going to be fine.
- 59:03Just a little.
- 59:03So, yeah, I mean, I tend to fall on the side of because the big risk with passwords is if
- 59:09you use the same one over and over again or a variant and somebody gets it from site A,
- 59:13now they've just unlocked 40 other sites for you.
- 59:15But so a password manager with super random accounts kind of removes that.
- 59:19So if I get a notification that my password is on.
- 59:22Yes.
- 59:23On Troy Hunt's site.
- 59:25Well, at least I know that password, you know, the blast radius of that password leaking
- 59:28was just to that one site because I didn't use it anywhere else.
- 59:32And that's sort of the key.
- 59:33So, yeah.
- 59:33And you just go change in one place and it's fine.
- 59:36Like what I usually it's those huge random ones are probably good enough, even though space.
- 59:41So I don't know.
- 59:42I'm with you.
- 59:43There's a site that I use periodically and it literally does not allow me to create a
- 59:47username or password.
- 59:47I can only log in with Facebook.
- 59:49Oh, yeah, that hurts.
- 59:50Wow.
- 59:51Sounds like it's time to not use that site anymore.
- 59:53And it keeps logging me out.
- 59:55And I had been taking the policy that I'm not going to be logged into Facebook on my main
- 59:59browser.
- 59:59If I want to do Facebook, that's an incognito window to Facebook.
- 1:00:02And then I close that down.
- 1:00:04Right.
- 1:00:04Yeah.
- 1:00:04Good idea.
- 1:00:05But now I've got to stay logged in if I go.
- 1:00:06I mean, I got to keep logging in and out of Facebook just to go do that thing.
- 1:00:09But it has these like knock on effects of, well, now like every Facebook pixel and the
- 1:00:14Internet is now turned on for me to the extent that my ad blockers are not stopping that.
- 1:00:19Right.
- 1:00:19It's like an arms race.
- 1:00:21But it's it frustrates me if that's the only option out there.
- 1:00:26Yeah, for sure.
- 1:00:27Yeah.
- 1:00:27All right.
- 1:00:27Well, just leave it there, I suppose.
- 1:00:29I think we're getting definitely long in time here, but been really fun to talk about identity
- 1:00:34and the broader sense with you guys.
- 1:00:36Absolutely.
- 1:00:36And it's been a blast being here and talk about identity and how to keep you off the
- 1:00:40news.
- 1:00:41Yeah.
- 1:00:41All right.
- 1:00:42Before we get here, if you're going to write some code, I'll just, since there's two, I'll
- 1:00:44just ask the one, although who knows, it might be the same answer.
- 1:00:47We'll see.
- 1:00:48If you're going to write some code, some Python code, what editor do you use?
- 1:00:51I would probably go with VS Code.
- 1:00:53Okay.
- 1:00:54Because I am more comfortable with that.
- 1:00:56I haven't really used bytes or mats and I haven't really done a lot of Python production
- 1:00:59work to say that.
- 1:01:01So that will be the convenient one.
- 1:01:03However, we are working with JetBrains these days to actually improve the Azure experience
- 1:01:08inside PyTorch and PyCharm.
- 1:01:10Yeah.
- 1:01:11Yeah.
- 1:01:11PyCharm.
- 1:01:12Yeah.
- 1:01:12Awesome.
- 1:01:12Really?
- 1:01:13I didn't know that.
- 1:01:13That's cool.
- 1:01:13Yeah.
- 1:01:14So we want to bring it in to everyone.
- 1:01:16Yeah.
- 1:01:16So use the tools that work best for you.
- 1:01:19Yeah, absolutely.
- 1:01:19John, how about you?
- 1:01:20Do Jupyter notebooks count?
- 1:01:22Yeah.
- 1:01:22Yeah.
- 1:01:23They absolutely count.
- 1:01:23Sure.
- 1:01:24In the browser.
- 1:01:24Yeah.
- 1:01:25No, I mean, most of what I've used Python for in the past, probably past 12 months has been
- 1:01:30like work in Spark doing like data processing and stream processing, which I kind of love
- 1:01:35it for that because it's so much easier than Scala.
- 1:01:38And I tried to do Scala once and I was really quite miserable.
- 1:01:42And then I was like, I'll just do this in Python.
- 1:01:44And then a lot of it too, I do use VS Code a lot.
- 1:01:47And for more sort of like application stuff for doing like Azure automation stuff, like if I want to automate some resources and things like that in Azure or use like AWS Lambda for application stuff, I tend to fall to VS Code.
- 1:01:59Excellent.
- 1:02:00All right.
- 1:02:00Well, that's definitely a popular answer these days.
- 1:02:02All right.
- 1:02:03Final call to action.
- 1:02:03People are interested in identity.
- 1:02:05They want to up their game and their app or maybe they're creating a new app.
- 1:02:08They want to try something different, like federated identity or something.
- 1:02:11What do you say to them?
- 1:02:12Do it and come hang out with us on Twitch, come and write some code with us and tell us what you want to see.
- 1:02:17Tell us what kind of scenarios you're in that you want to see.
- 1:02:20Yeah, we haven't talked about that.
- 1:02:21Just really quickly, you guys have a Twitch programming live stream.
- 1:02:24You want to tell folks about that real quick?
- 1:02:26We'll put the link in the show notes.
- 1:02:27Sure.
- 1:02:28It's every Tuesday and Thursday at 7 a.m. Pacific, 10 a.m. Eastern.
- 1:02:32And usually Tuesdays, we build something.
- 1:02:34Right now, we're working on a multi-episode project of building what we're calling the Thrasman, which is the Azure Resource Thrasher, which will be fun.
- 1:02:42And we take questions from the chat and from the community all the time.
- 1:02:46And then Thursdays, we do community hour where we show off a cool project that somebody in the community has been working on.
- 1:02:52Or we have a guest come on from Microsoft or outside and share with the world what they're working on or something really cool or a big announcement.
- 1:02:59And yeah, it's a lot of fun.
- 1:03:00Yeah, cool.
- 1:03:01I hear you have some Python topics maybe coming up potentially.
- 1:03:04We do.
- 1:03:05When are you going to come on the show?
- 1:03:06Come build something with us.
- 1:03:07Oh, yeah.
- 1:03:07Oh, yeah.
- 1:03:08October 20th.
- 1:03:10Nice.
- 1:03:11It's already done.
- 1:03:12Agreed.
- 1:03:13And we're cooking.
- 1:03:13So we'll make sure that we promote that and let people know that you're coming to the show to build some awesome authentication stuff with us.
- 1:03:19Yeah, that'd be sweet.
- 1:03:20Yeah, it sounds good.
- 1:03:21We'll do some Flask plus OpenID Connect or something like that.
- 1:03:24Yes.
- 1:03:25Awesome.
- 1:03:25All right, guys.
- 1:03:26Thank you for being on the show.
- 1:03:27It's been a lot of fun.
- 1:03:28Thanks for having us.
- 1:03:29Thank you for having us.
- 1:03:30Yeah, Yvette.
- 1:03:31Talk to you later.
- 1:03:31This has been another episode of Talk Python To Me.
- 1:03:35Our guests in this episode were Christos Mathkes and John Patrick Dendison.
- 1:03:39And it's been brought to you by us over at Talk Python Training in Linode.
- 1:03:44Simplify your infrastructure and cut your cloud bills in half with Linode's Linux virtual machines.
- 1:03:48Develop, deploy, and scale your modern applications faster and easier.
- 1:03:51Visit talkpython.fm/linode and click the Create Free Account button to get started.
- 1:03:57Want to level up your Python?
- 1:03:58If you're just getting started, try my Python Jumpstart by Building 10 Apps course.
- 1:04:03Or if you're looking for something more advanced, check out our new Async course that digs into
- 1:04:08all the different types of async programming you can do in Python.
- 1:04:11And of course, if you're interested in more than one of these, be sure to check out our
- 1:04:15Everything Bundle.
- 1:04:16It's like a subscription that never expires.
- 1:04:18Be sure to subscribe to the show.
- 1:04:20Open your favorite podcatcher and search for Python.
- 1:04:22We should be right at the top.
- 1:04:23You can also find the iTunes feed at /itunes, the Google Play feed at /play,
- 1:04:28and the direct RSS feed at /rss on talkpython.fm.
- 1:04:32This is your host, Michael Kennedy.
- 1:04:34Thanks so much for listening.
- 1:04:36I really appreciate it.
- 1:04:37Now get out there and write some Python code.
- 1:04:39I'll see you next time.
- 1:04:59Thank you.