#dev 2020-08-27

2020-08-27 UTC
raucao, geoffo, chrisaldrich, [tantek], maxwelljoslyn, beko, jonnybarnes, [Sue_Hanen] and gRegorLove joined the channel
#
GWG
Anyone have a recollection of this session? https://indieweb.org/2018/Berlin/pagination
#
GWG
I don't think there was a video.
gRegorLove_, gRegorLove__, [tantek] and gRegorLove joined the channel
#
[tantek]
I vaguely remember it
jonnybarnes, callMeBaby, cweiske, mblaney, [fluffy], gRegorLove, swentel, dckc, moppy, [Emma_Humphries], [James_Gallaghe], deathrow1, jeremych_, KartikPrabhu and [jgmac1106] joined the channel
#
GWG
It came up in the context of archives
[Ana_Rodrigues], KartikPrabhu, jonnybarnes, [Murray], gRegorLove, geoffo, jeremych_, dckc, [chrisaldrich], tinfoil-hat, nickodd, strugee, [calumryan] and [Sue_Hanen] joined the channel
#
@oluoluoxenfree
What's everybody been working on today? For me: laundry procrastinating on tech tests!!! adding the beginnings of webmentions to my blog
(twitter.com/_/status/1299044993273942016)
jonnybarnes, gxt, [fluffy] and tinfoil-hat joined the channel; nickodd left the channel
#
@ayoungh
↩️ I’ve been fixing typescript errors, home schooling my boy before he goes back to school and procrastinating. Webmentions sounds cool, how does that work?
(twitter.com/_/status/1299067830298710019)
[manton], [Mat_Rosero], [schmarty], [kimberlyhirsh] and [KevinMarks] joined the channel
#
@oluoluoxenfree
↩️ you query a free end point, after you sign in using a way of verifying yourself that you pick. then cos i'm using eleventy i have to render them myself, but i need some mentions first to mess around with that! https://mxb.dev/blog/using-webmentions-on-static-sites/#webmentions mostly adapted a template tbh!
(twitter.com/_/status/1299076653583396865)
#
jacky
^ that's motivation to pick up steam in Lighthouse
#
jacky
also tbh
[grantcodes] joined the channel
#
jacky
I've been thinking about it a lot and I should write it out somewhere but you've (aaronpk) inspired me to consider folding Lwa and Lighthouse into one thing
#
jacky
still trying to figure out _how_ that'd work (like for onboarding or in the case of people only possibly wanting to look at notifications but nothing else)
[snarfed] joined the channel
#
[snarfed]
jacky++ microservices (and plugin proliferation etc) can be good for dev architecture, but are generally bad for UX
#
Loqi
jacky has 33 karma in this channel over the last year (115 in all channels)
#
jacky
thankfully it won't have to be a complete ground-up rewrite!
#
jacky
and I have the experience (tm) working with it now lol
jonnybarnes, leg and [Ana_Rodrigues] joined the channel
[tb] joined the channel
#
[tb]
Tonight's code reading is to figure out if the https://github.com/okta/okta-auth-js library could be used to do a PKCE authorization code flow in an SPA against an IndieAuth server 😄
#
Loqi
[okta] okta-auth-js: The official js wrapper around Okta's auth API
#
[tb]
Already struck out on Auth0's library because it hardcodes Auth0 paths/URLs — this one so far seems like it might be flexible enough
jonnybarnes joined the channel
#
aaronpk
wait what channel am I in
#
[tb]
Oh wait don't you work for Okta [aaronpk] 😄
[tantek] joined the channel
#
[tb]
I was going to try cooking up a sample pure SPA that used that okta-auth-js library to let me authenticate with my IndieAuth server
#
aaronpk
sounds fun :)
#
aaronpk
i'm not sure that's going to work with that library though because it is specifically a wrapper around Okta's API rather than a generic OAuth client. there might still be some hardcoded assumptions in there for example
#
[tb]
Yeah I'm seeing lots of `/api/v1` things appended to the configurable `issuer` variable
#
[tb]
Maybe I should just write my own, I'm always cagey about writing security-related things like this though
#
aaronpk
have you tried a generic oauth client library yet?
#
aaronpk
i assume there is one in JS
#
[tb]
Nah not yet this idea just popped into my head about an hour ago
[KevinMarks] joined the channel
#
[tb]
Like here's one but no PKCE https://github.com/mulesoft/js-client-oauth2
#
Loqi
[mulesoft] js-client-oauth2: A JavaScript implementation of an oauth2 client, for inclusion in the JavaScript client generator for APIs described with RAML.
#
[tb]
And then there's the maybe easier way where it's still an SPA for the most part but there's a server-side component on the same domain that acts as an IndieAuth client as well as a thin proxy to whatever APIs need to be authenticated to
#
[tb]
Which... I should build as a demo anyway as a reference for the revamp on omniauth-indieauth
#
[KevinMarks]
TIL that node express hashes your output by default and puts that in the etag and returns 304 if its the same as last requested.
#
[KevinMarks]
I'd like to have a bit more control over that, which is going to involve some digging, but the intention is good
jonnybarnes, jjuran, mblaney and [fluffy] joined the channel
#
[fluffy]
I do that in Publ, on purpose.
#
[fluffy]
Is there ever a reason you wouldn’t want that behavior?
[snarfed] joined the channel
#
[snarfed]
mostly just control
#
[snarfed]
“by default” is key. regardless, KevinMarks is right, nodeexpress++
#
Loqi
nodeexpress has 1 karma over the last year
taskboy3000 joined the channel