2018-07-07 UTC
[kim_landwehr], TripFandango and [cleverdevil] joined the channel
# 02:02 [cleverdevil] Sweet. Got basic IndieAuth working in indiepaper.io, but it needs a lot of work to glue it all together.
# 02:02 [cleverdevil] And I am getting ready to leave for Dubai for a week, so it may take a little while to get it out.
# 02:02 [cleverdevil] In the meantime, the updated macOS app is released that includes the ability to auto-configure with a URL.
[chrisaldrich], eli_oat and renem joined the channel
# 03:24 Loqi cleverdevil has 34 karma in this channel (104 overall)
# 03:35 Loqi An invitation is an optional feature of an event post (an event with invitations), or a reply to an event post that also notifies a list of invitees that they've been invited to the event, or a special case of that, an RSVP to an event that also invites additional people to it https://indieweb.org/invite
[eddie], TripFandango, kicks, snarfed, tantek and barpthewire joined the channel
iasai joined the channel
iasai, trip_ and iasai_ joined the channel
eli_oat, trip_, TripFandango and [kevinmarks] joined the channel; trip_ left the channel
[jgmac1106], trip_, [kim_landwehr], TripFandango and snarfed joined the channel; trip_ left the channel
[eddie] joined the channel
# 15:20 [eddie] !tell [kim_landwehr] so what is happening is Indigenous is trying to send Micropub post to endpoint that is listed on your login url. It looks like that would be “http://www.wrke.online /micropub” oh! Looks like there is a space or a line break in your url that probably needs to be fixed
# 15:20 Loqi Ok, I'll tell them that when I see them next
# 15:21 Loqi [Kim Landwehr] Trying out this guide to sending webmentions
ludovicchabant and davidmead joined the channel
# 16:46 aaronpk that's annoying that wordpress.org doesn't link to the github repo
# 17:24 aaronpk it'd be nice if the plugin directory had a field for it so all the plugins would show it in the same spot
# 17:25 sknebel can't show scary stuff like github links to users
[kevinmarks] joined the channel
# 17:49 dougbeal Wordpress.org / the plugin page also makes no mention of the actual name of the plugin so you can manpulate it from wp cli
[snarfed] joined the channel
# 17:50 [snarfed] @kartikprabhu we definitely need to add you to whatever else you need so you can cut releases yourself
# 18:08 Loqi kartikprabhu has 26 karma in this channel (210 overall)
# 18:09 [snarfed] sounds like you got the real PR(s) reviewed though? if the new one (s) are just bumping the version, docs, etc, i think it's ok to release anyway
chrisaldrich and [cleverdevil] joined the channel
# 18:10 KartikPrabhu [snarfed]: yeah the real stuffs got reviwed. I already cut a release on github. putting on pypi now (if i can find the tutorial I used last time)
[manton] and [dgold] joined the channel
# 18:37 KartikPrabhu oh hey shorter this time. maybe last time I sort of "panicked" and uploaded multiple times
tonzyl joined the channel
# 18:43 Loqi [microformats] mf2py: Python Microformats2 parser
davidmead joined the channel
dougbeal|mb1 joined the channel
# 19:05 [cleverdevil] It generates a bookmarklet with the token and also a link for auto-configuring the indiepaper macOS app
# 19:06 pstuifzand I just used it, it does have "Bearer None" in the Authorization header
# 19:08 [manton] This is great! I just tested it with Micro.blog and it's "working" although I get bearerToken=None in the "Configure Indiepaper for macOS" button.
# 19:09 [cleverdevil] But, now I need to go finish packing for Dubai. If you see anything obvious, feel free to leave me a message 😛
# 19:10 pstuifzand Perhaps your using a client side token based auth flow? aaronpk, does that exist?
# 19:11 aaronpk oh I wonder if the "save" scope is throwing off the other servers
snarfed joined the channel
# 19:12 pstuifzand I see response_type=code in the GET request to the auth endpoint
# 19:12 aaronpk [cleverdevil]: do you have a server-side proxy to get around the CORS issue?
leg joined the channel
# 19:19 pstuifzand My guess would be that the params are in the url instead of the form encoded params ($_GET vs. $_POST)
# 19:28 [cleverdevil] So, everything is happening server side, except once the token is received, its passed to the static site as a callback and then the bookmarklet and other link are generated via client side javascript.
# 19:29 aaronpk what parameters are you sending in the POST request to the token endpoint, and are you handling the case when the endpoint returns an error?
# 19:31 [cleverdevil] Anyway, I am guessing that I am getting something other than 200 back from the token endpoint.
# 19:31 [cleverdevil] And then just returning "None" and not handling it gracefully on the other end.
snarfed joined the channel
# 19:33 aaronpk Do the client id and redirect match exactly? They're strings there so there's a chance...
# 19:35 aaronpk I assume they do, otherwise my endpoint isn't validating properly
# 19:36 pstuifzand it seems you need to send the variables with data={} instead params={}
for a POST request
# 19:36 pstuifzand with params they are added to the url instead of the request body
# 19:36 Loqi pstuifzand has 4 karma in this channel (5 overall)
# 19:38 aaronpk I should really figure out how to limit laravel to looking in the post body
# 19:39 aaronpk "You do not need to worry about the HTTP verb used for the request, as input is accessed in the same way for all verbs:"
# 19:44 [cleverdevil] The only thing I don't like about the way I did it is that the token ends up in a query string, which could bleed into browser history.
snarfed joined the channel
# 19:46 [cleverdevil] The endpoint and server-side stuff is on Lambda, but the website is static and lives on S3/CloudFront.
# 19:46 [manton] Still getting "None" here for Micro.blog, although I can see it did generate a token on my server. So maybe something in the response doesn't match what you're expecting.
# 19:48 [manton] Oh wait. I always assume "create" and return that in the JSON. Maybe that's it?
# 19:48 [cleverdevil] I am assuming form encoded response since I am sending form encoded request data.
# 19:50 [manton] Okay. I _think_ the spec says it's supposed to always return JSON. Trying to confirm that.
# 19:52 aaronpk I think Known is one of the last that sends back only form responses
# 19:56 Loqi [pstuifzand] #1 Error on preflight when using bookmark
# 19:56 pstuifzand my guess is that the redirect in "index" breaks the OPTIONS / cors check
# 19:59 aaronpk ohh I forgot the drupal plugin supports indieauth too!
# 20:00 Loqi eddie has 37 karma in this channel (66 overall)
# 20:01 pstuifzand I just added more complete websub support to Ekster (microsub server)
# 20:02 [cleverdevil] Okay, feel free to try again @pstuifzand! I've made it so it only does the redirect on GET requests.
# 20:04 Loqi cleverdevil has 35 karma in this channel (105 overall)
# 20:05 [cleverdevil] Once I have at least one use case, I'll update the front site with details.
# 20:06 pstuifzand I guess the use case would be to have a (perhaps hidden) "archive" channel/tag on the blog and automatically post there
# 20:07 pstuifzand I know aaronpk has channels on his website, that can be bound to tokens, so with Indieauth and channel selection, you could create your own archive of articles
# 20:08 aaronpk yeah I was considering doing this with my "bookmarks" page
# 20:08 aaronpk so anything I post via indiepaper goes into my bookmarks
# 20:14 pstuifzand Oh probably it's an error from my website, I see a 401 in the logs for the micropub endpoint
# 20:14 [cleverdevil] Yeah, I just tested via both bookmarklet and macOS app, and it works for me.
# 20:14 [manton] [cleverdevil] The token works now! I'll be adding support for scope=save soon.
# 20:15 [cleverdevil] Once you get something working, we can coordinate to make sure I have good documentation and user experience on the site.
# 20:16 [cleverdevil] Eventually, I want to add support for having multiple targets in the macOS app, and the ability to add categories.
# 20:20 pstuifzand With aperture and indieauth I guess you would use an url for a channel, and use indieauth login with that?
# 20:22 Loqi [Peter Stuifzand] OAuth for the Open Web
# 20:23 aaronpk hm, so it's a little weird that it doesn't have any indication of the original author or URL
# 20:24 aaronpk or indiepaper should include the original author info
# 20:24 aaronpk and hopefully sites that republish the post would show that
# 20:24 pstuifzand yeah, I'll delete it. I guess it should be a hidden page or something
# 20:25 pstuifzand I'll have to check what the endpoint got, and what is overwritten
# 20:25 aaronpk hm wonder why my author info isn't showing up in that service then
# 20:26 aaronpk I wonder what they expect the page to have to indicate the author
# 20:27 aaronpk [cleverdevil]: alternate approach: you could look for mf2 first and use that, then use mercury as a fallback
# 20:27 aaronpk the mf2 is likely to be way higher resolution data
# 20:28 pstuifzand for the second article that I added it found an author, but it's not an h-card, so the blog doesn't show it
[snarfed] joined the channel
KartikPrabhu and iasai joined the channel
[eddie] joined the channel
[manton] and [cleverdevil] joined the channel
# 22:04 Loqi [aaronpk] #2 Look for mf2 first, use Mercury as a fallback
# 22:05 sknebel to my knowledge, there isn't a regularly updated one currently
[snarfed] joined the channel
# 22:07 aaronpk if you *can* bundle the parser in with the lambda then I would do that
# 22:07 aaronpk it's already running on lambda so you don't get any benefit of using an external one really
# 22:22 aaronpk I do wonder if I should have included a little section on that at the bottom of the post
# 22:36 [cleverdevil] OK, I have updated Indiepaper to use mf2py to parse submitted articles, and then to fallback to Mercury if nothing is discovered.
# 22:38 [eddie] Should I be using indiepaper.io now or are they the same service? I think I have all my stuff still on cleverdevil.io’s url
[manton] joined the channel
# 23:20 [manton] Alright, I deployed support for scope=save on Micro.blog. It routes Micropub posts to a special queue and makes the posts available as JSON Feed with a unique feed URL for each user. Fun! Not sure the best way to frame this for regular users, but it's there as a secret feature to play with.
# 23:22 Loqi manton has 8 karma in this channel (64 overall)
# 23:24 Loqi manton has 9 karma in this channel (65 overall)
# 23:44 Loqi manton has 10 karma in this channel (66 overall)
# 23:49 GWG Home Assistant is getting IndieAuth?
[chrisaldrich] and eli_oat joined the channel