#wordpress 2020-05-05
2020-05-05 UTC
[jgarber], [KevinMarks], nickodd, [fluffy], [Ramiro_Ruiz], gRegorLove, Ruxton, chimo, [LewisCowles], jeremych_, [Arne], beko and [schmarty] joined the channel
[LewisCowles], [jgarber], nickodd, [tantek], [schmarty], [tw2113], [KevinMarks], gRegorLove, [chrisaldrich], [benatwork] and cal joined the channel; nickodd left the channel
# cal Thanks GWG!
# cal How does indieauth.com get authorization from wordpress.com?
# cal So, I'm logged in to my wordpress.com site
# cal and then a client uses https://indieauth.com/auth to get authorization
# cal I guess indieauth.com redirects to wordpress.com or something?
# cal yes, I just set this for testing: https://pokemongoers.wpcomstaging.com/
# cal I had to upgrade to a biz paid account
# cal and then when I tried to install the plugin, it said the domain pokemongoers.wordpress.com had to be renamed to pokemongers.wpcomstaging.com
# cal so I've got micropub plugin installed on https://pokemongoers.wpcomstaging.com/
# cal and via curl I see: curl -I https://pokemongoers.wpcomstaging.com/ HTTP/2 200 server: nginx date: Tue, 05 May 2020 21:48:04 GMT content-type: text/html; charset=UTF-8 vary: Accept-Encoding host-header: WordPress.com vary: Cookie link: <https://pokemongoers.wpcomstaging.com/wp-json/micropub/1.0/media>; rel="micropub_media" link: <https://pokemongoers.wpcomstaging.com/wp-json/micropub/1.0/endpoint>; rel="micropub" link:
# cal <https://indieauth.com/auth>; rel="authorization_endpoint" link: <https://tokens.indieauth.com/token>; rel="token_endpoint" link: <https://pokemongoers.wpcomstaging.com/wp-json/>; rel="https://api.w.org/" link: <https://wp.me/766Bd>; rel=shortlink x-ac: 2.sjc _atomic_bur strict-transport-security: max-age=15552000; includeSubDomains; preload
# cal so the end point is set up
# GWG If you want to use your WordPress login, you need https://wordpress.org/plugins/indieauth
# cal so, this won't actually allow me to publish to the wordpress.com site?
# cal can I get the token from https://indieauth.com/auth ?
# cal (even tho' it's really a wordpress.com site?)
# cal As context, I'm trying to write a client for micropub, and just trying to figure out
# cal if I did have the client, what are the steps I would users of my client how they can use the client to publish to wordpress.com
# cal right I tried all the steps manually through micropub.rocks
# cal so I think I know micropub itself pretty well
# cal but just confused how with a micropub client, a user can practically use it to publish to a wordpress.com site
# cal @aaronpk, yes, I paid a trial $300 to upgrade https://pokemongoers.wpcomstaging.com/
# cal and then installed the micropub plugin (I think successfully, at least from Curl)
# cal most of threadreaderapp users want to publish to wordpress.com, so I figured I should get at least that use case right
# aaronpk well i'm not seeing much that's terribly helpful, i was looking at https://indieweb.org/Getting_Started_on_WordPress#Micropub and https://indieweb.org/Getting_Started_on_WordPress#IndieAuth_Plugin
# cal ah, ok, so install IndieAuth to use wordpress.com endpoints, and then the Micropub plugin
# cal I'll try that thanks!
# cal ah, got it!
# cal sorry, I've been so slow on implementing this... had a few Twitter related fires to squelch!
[fluffy] joined the channel