69°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • https://kylewm.com/2015/06/awesome-thanks-fair-warning-it-s-kind-of-a-proof
    Aaron Parecki
    @kylewmahan Sweet! You should try using JWT for generating the auth codes, so that you don't need to store anything! Basically you generate a signed string with all of the data you need (user, scope, expiration, etc), and that is the auth code. That way you can get the data from the auth code without needing to look anything up in the database. Check out how my token endpoint does it:

    https://github.com/aaronpk/IndieAuth-Token-Endpoint/blob/master/controllers/controller.php#L52

    https://github.com/aaronpk/IndieAuth-Token-Endpoint/blob/master/controllers/controller.php#L100

    There's more background on this concept here: http://lucumr.pocoo.org/2013/11/17/my-favorite-database/
    Portland, Oregon, USA
    Tue, Jun 2, 2015 8:56am -07:00 #indieauth
Posted in /replies

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv