58°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • https://octodon.social/@npd/106632461524722923
    Aaron Parecki
    yeah, HTTP Basic Auth is problematic for several reasons
    Portland, Oregon • 84°F
    Fri, Jul 23, 2021 4:22pm -07:00
  • John Patrick Dandison โ˜โ˜โ˜ https://twitter.com/AzureAndChill   •   Jul 23
    Azure static web apps has auth proxy built in and is pretty lightweight, $9 to byo oidc. Or an az function proxy and use easyauth/write a couple of methods to handle the redirect and code redemption. That's free under 1m executions
    Aaron Parecki
    This is promising, thanks, I am going to check it out.
    Portland, Oregon • 84°F
    2 likes
    Fri, Jul 23, 2021 4:05pm -07:00
  • Jo Wouters https://twitter.com/jowouters   •   Jul 23
    In that case you could move the whole static site to a specific directory that is protected via a _redirects definition ? Access is only granted to a specific role. https://docs.netlify.com/visitor-access/role-based-access-control/ Roles can be set via Identity
    Aaron Parecki
    That's promising, but can I use an external OpenID Connect IDP for that? I don't want to manage users in Netlify
    Portland, Oregon • 84°F
    1 reply
    Fri, Jul 23, 2021 4:03pm -07:00
  • karmanyaahm https://social.linux.pizza/@karmanyaahm   •   Jul 23

    @aaronpk I haven't used it but I've heard about Authelia which could perhaps do this?

    Aaron Parecki
    I'm skimming through their docs and it looks like it is an OAuth server itself? That sounds like something different.
    Portland, Oregon • 83°F
    1 like 2 replies
    Fri, Jul 23, 2021 3:58pm -07:00
  • Jason Lengstorf https://twitter.com/jlengstorf   •   Jul 23
    yeah, that definitely works! hereโ€™s some code to change roles if you need to, but in general Netlify Identity / roles will definitely let you gate content

    https://github.com/stripe-samples/netlify-stripe-subscriptions
    Aaron Parecki
    I'm still a little confused about Netlify Identity, but it seems like it requires that I manage users in Netlify, which isn't what I want.

    Also wow the pricing ๐Ÿ˜ฎ $99/month/user in order to be able to use third party JWT tokens?
    Portland, Oregon • 83°F
    1 reply
    Fri, Jul 23, 2021 3:55pm -07:00
  • Jesse Cooke https://twitter.com/jc00ke   •   Jul 23
    I used https://github.com/oauth2-proxy/oauth2-proxy in front of S3 years ago, worked quite well.
    Aaron Parecki
    I just found a tutorial on deploying that on Heroku which is currently at the top of my list!
    Portland, Oregon • 83°F
    2 likes 1 reply
    Fri, Jul 23, 2021 3:48pm -07:00
  • Kevin C. https://social.librem.one/@kcoram   •   Jul 23

    @aaronpk
    Does Vouch support OpenID Connect? I remember learning how to set it up for OAuth from instructions on your site . . .

    Aaron Parecki
    It does! That's high on my list, but ideally I'd like to deploy this to something that doesn't require that I run nginx/Apache or a VM.
    Portland, Oregon • 83°F
    Fri, Jul 23, 2021 3:46pm -07:00
  • Jason Lengstorf https://twitter.com/jlengstorf   •   Jul 23
    can you say more about what the ideal workflow is? if you can set a cookie, you can allow/deny access based on cookie presence https://docs.netlify.com/routing/redirects/redirect-options/#redirect-by-cookie-presence
    Aaron Parecki
    I followed a few links from there and it looks like possibly this is the answer?

    https://docs.netlify.com/visitor-access/role-based-access-control/#external-providers
    Portland, Oregon • 83°F
    3 replies
    Fri, Jul 23, 2021 3:40pm -07:00
  • Jo Wouters https://twitter.com/jowouters   •   Jul 23
    Have you tried Snippet Injection? https://docs.netlify.com/site-deploys/post-processing/snippet-injection/ You could inject the Identity code in your static code https://identity.netlify.com/
    Aaron Parecki
    That won't work, I need to prevent access to the files entirely if the user isn't logged in.
    Portland, Oregon • 83°F
    1 like 3 replies
    Fri, Jul 23, 2021 3:37pm -07:00
  • Jason Lengstorf https://twitter.com/jlengstorf   •   Jul 23
    can you say more about what the ideal workflow is? if you can set a cookie, you can allow/deny access based on cookie presence https://docs.netlify.com/routing/redirects/redirect-options/#redirect-by-cookie-presence
    Aaron Parecki
    Ideally I'd have something like a Netlify function run on every incoming request to check the presence of a cookie, validate it, and based on the result, either send an HTTP redirect to start an OIDC flow, or return the static file requested.
    Portland, Oregon • 83°F
    5 replies
    Fri, Jul 23, 2021 3:32pm -07:00
  • Bertrand Carlier https://twitter.com/bertrandcarlier   •   Jul 23
    mod_auth_openidc for Apache or nginx equivalent by the excellent @hanszandbelt?
    Aaron Parecki
    Those and https://github.com/vouch/vouch-proxy are on my list, but require that I run an nginx/Apache server somewhere, and ideally I'd be able to deploy this on something that doesn't require a full VM. That's my backup plan tho.
    Portland, Oregon • 83°F
    2 likes
    Fri, Jul 23, 2021 3:30pm -07:00
  • Jeremy Fiel https://twitter.com/jeremyfiel   •   Jul 23
    If you can't modify it, how do you have access to deploy it somewhere else?
    Aaron Parecki
    It's a static site, so it's a pile of files. I can push those files around as much as I want, but changing them is not really feasible
    Portland, Oregon • 83°F
    Fri, Jul 23, 2021 3:29pm -07:00
  • Jeremy Fiel https://twitter.com/jeremyfiel   •   Jul 23
    Netlify @cassidoo @jlengstorf can help
    Aaron Parecki
    I have spent no joke like 4 hours trying to do this on @netlify already today and cannot for the life of me figure it out
    Portland, Oregon • 83°F
    1 like 17 replies
    Fri, Jul 23, 2021 3:21pm -07:00
  • certified post-corporate hellscape solutions https://twitter.com/4c4d   •   Jul 23
    Google, Azure, AWS all have the concept of the identity aware proxy, which is something that inspects the jwt/token and denies access if it's not valid. I've used GCP's, and it's pretty well featured, but the other providers should be reasonable as well (it's a common feature)
    Aaron Parecki
    That's exactly what I want, but is there anything lighter weight than those platforms? It feels way overkill. I can't find a corresponding feature in Netlify or Heroku for example though.
    Portland, Oregon • 83°F
    8 replies
    Fri, Jul 23, 2021 3:20pm -07:00
  • jessekelber https://micro.blog/jessekelber   •   Jul 22

    @aaronpk nice Brommie! What luggage is that up front?

    Aaron Parecki
    It's a brompton bag, I think it's the Metro Messenger bag! I got it over 4 years ago now! ๐Ÿ˜ฎ
    Portland, Oregon • 72°F
    Wed, Jul 21, 2021 6:45pm -07:00
  • Andy Millington ๐Ÿ˜๐Ÿ’‰ https://twitter.com/sephster   •   Jul 15
    totally understand the am/pm but superscript for ordinal indicators is the norm in the UK. I didn't realise this wasn't common over the pond. Learn something new every day!
    Aaron Parecki
    oh it's not unusual, I'm just surprised that they took the effort to do that and nothing else!
    Portland, Oregon • 79°F
    1 reply
    Thu, Jul 15, 2021 5:25pm -07:00
  • cn https://micro.blog/cn   •   Jul 15

    @aaronpk 0000โ€“0100 BST is when I hope to be asleep ๐Ÿ˜ด

    Aaron Parecki
    ahh sorry it's not at a good time for Europe! I'll try to schedule the next ones at a better time!
    Portland, Oregon • 58°F
    Thu, Jul 15, 2021 8:10am -07:00
  • Nolan https://toot.cafe/@nolan   •   Jul 14

    My challenge to web developers is this: I should be able to type as fast into your text input as I can into a plain-old <input> or <textarea> with no JavaScript handlers on them. If I can't, then the event handlers should be debounced, and/or they should do less JavaScript work.

    Aaron Parecki
    I can't believe this even needs to be said ๐Ÿคฆโ€โ™‚๏ธ
    Portland, Oregon • 70°F
    Wed, Jul 14, 2021 11:48am -07:00
  • PhotoJoseph https://twitter.com/photojoseph   •   Jul 14
    Hey โฆ@QBCaresโฉ could this message be any more confusing and potentially misleading? And I canโ€™t get out of this screenโ€ฆ thatโ€™s some SHIT tactics there. I pay a LOT every month. Stop trying to squeeze more.
    Aaron Parecki
    This needs to go in an anti-UX hall of fame ๐Ÿ˜‚

    It's asking two contradictory questions, both phrased incredibly confusingly. There's no way to really know what the "yes" or "no" buttons will actually do.
    Portland, Oregon • 65°F
    6 likes 1 repost 1 reply
    Tue, Jul 13, 2021 11:25pm -07:00
  • Dave - Post. Color. Gear. https://twitter.com/PostColorGear   •   Jul 14
    Does anyone have too many restrictions on their email / messages that they have to keep checking the spam folders to see if any companies have contacted you for business inquiries?

    Or just me? lol
    Aaron Parecki
    This is one of the reasons I got a WeChat account
    Portland, Oregon • 66°F
    1 like
    Tue, Jul 13, 2021 11:19pm -07:00
older

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