Randall Degges

Randall Degges

Randall Degges runs Evangelism at Okta where he works on security research, development, and education. In his spare time, Randall writes articles and gives talks advocating for security best practices. Randall also builds and contributes to various open-source security tools.

Randall's realm of expertise include Python, JavaScript, and Go development, web security, cryptography, and infrastructure security. Randall has been writing software for ~20 years and has built some of the most-used API services on the internet.

All posts by Randall Degges


  1. Multi-Factor Authentication Sucks

    12 min read

    For the last seven years or so I've been building developer tools to help make user authentication and authorization simpler and more secure. When I'm not building tools to help secure web applications, I'm often writing articles, creating videos, and educating developers on web security best practices.

    Read more
  2. A Thorough Introduction to PASETO

    11 min read

    Today I'm going to introduce you to one of my favorite pieces of security technology released in the last several years: PASETO (platform-agnostic security tokens). PASETO is a relatively new protocol, designed by Scott Arciszewski in early 2018 that is quickly gaining adoption in the security community.

    Read more
  3. Encrypting data is all about making sure that only the right people can view the data you've encrypted. There are two primary forms of data encryption: symmetric and asymmetric.

    Read more
  4. User Migration: The Definitive Guide

    15 min read

    Migrating sensitive user data from one system to another can be difficult (to say the least). While making incremental changes in your codebase to get rid of technical debt can be easy, replacing (or upgrading) something as critical and deeply-intertwined as your user management system can be a nightmare.

    Read more
  5. Nobody Cares About OAuth or OpenID Connect

    5 min read

    If you're reading this post, there's a good chance that you're a web developer who's very interested in web security. You've probably heard about OAuth or OpenID Connect (OIDC) before. You may have even used them at some point in your career.

    Read more
  6. Today I'm going to walk you through building a simple Flask web app (a blog) complete with user management (login, registration, etc.), database models, and everything else that goes along with it.

    Read more
  7. Node.js is eating the world. Many of the largest companies are building more and more of their websites and API services with Node.js, and there's no sign of a slowdown. I've been working with Node.js since 2012 and have been excited to see the community and tooling grow and evolve…

    Read more
  8. What Happens If Your JWT Is Stolen?

    9 min read

    All of us know what happens if our user credentials (email and password) are discovered by an attacker: they can log into our account and wreak havoc. But a lot of modern applications are using JSON Web Tokens (JWTs) to manage user sessions—what happens if a JWT is compromised? Because…

    Read more
  9. Not too long ago, the National Institute of Standards and Technology (NIST) officially recommended that user-provided passwords be checked against existing data breaches. Today I'm going to show you how you can easily add this functionality to any website you run using PassProtect, an open-source developer library we created specifically…

    Read more
  10. Static Sites vs CMS

    11 min read

    There's a frequent debate amongst development and marketing teams at companies around the world about whether or not their blog or website should be managed through a content management system (CMS) like Wordpress, Drupal, Squarespace, etc. or through a static site generator like Jekyll or Hugo. I've been blogging since…

    Read more
  11. If you're reading this article you probably care about web security. You probably use a password manager to manage your passwords, you've probably got multi-factor authentication setup for all of your services, and you're probably already subscribed to Have I Been Pwned? so you're alerted when one of your logins…

    Read more
  12. As recently as seven short years ago, building video applications on the web was a massive pain. Remember the days of using Flash and proprietary codecs (which often required licensing)? Yuck. In the last few years, video chat technology has dramatically improved and Flash is no longer required.

    Read more
  13. A couple weeks ago (Tuesday, Feb. 27) we officially ran the very first Iterate Developer Conference. Not only did we have a ton of fun throwing a developer conference, but it was also a huge success and succeeded in hitting all of our goals.

    Read more
  14. Several weeks ago a new critical vulnerability was discovered that affects many SAML implementations. This vulnerability was first reported by Kelby Ludwig of Duo Security and is particularly interesting to us (as a user management company) as it can be used to bypass authentication in a sinisterly simplistic way.

    Read more
  15. I got into Bitcoin back in 2011. Since then, I've been a fan of cryptocurrencies and have always had an interest in them. I've also built several Bitcoin projects over the years (an information website, an ecommerce site, and several others) to help promote the usage of the cryptocurrency (while…

    Read more
  16. Three Developer Tools I'm Thankful For

    4 min read

    I've been writing code since I was 12 years old. When I first got started, I was using an old MSDOS computer that was given to my family by a member of our church. I've always been really thankful that person gave my family a computer, as without it, I…

    Read more
  17. If you've ever spent time trying to figure out the best way to handle user authentication for your Node app and been confused: you're not alone. Over the last few years, authentication practices have changed quite a bit.

    Read more
  18. When you've built a successful software-as-a-service product, you tend to run into interesting technical (and business) questions. My favorite question is: "How do we add more functionality to our platform faster?" It's an interesting question because everyone wants to build features faster.

    Read more