#wordpress 2018-09-10

2018-09-10 UTC
[kevinmarks] and [iambismark] joined the channel
#
GWG
miklb: Can you tell me the error response if you use a branch in my micropub repo called forbidden?
#
miklb
git clone forbidden
#
GWG
I added an error check line that advises the auth response if forbidden
#
GWG
I want to know if it is logging in, but isn't recording it
#
miklb
sure, I follow, just gave me a smile
#
miklb
if it is just one line, I'll manually apply the patch in a branch of my repo
#
GWG
It is.
#
miklb
this is micropub or indieauth?
#
GWG
Micropub
#
miklb
and Not Logged in Yet Micropub Auth Response
#
miklb
do you need to see the contents of that?
#
GWG
Yes, please
#
miklb
but I am logged in
#
GWG
Does it show token data?
#
GWG
That's the weird thing
#
miklb
no token data
#
GWG
So, it is somehow not logging you in
#
GWG
So much for that idea
#
GWG
I'm going to try something more basic.
#
GWG
I'm going to see if I can do some command line tests.
#
GWG
Which means I need to add a feature to IndieAuth
#
miklb
so is that an indieauth plugin bug?
#
GWG
Well, if you look at what it returned, it returned a token for your user, but said you weren't logged in
#
GWG
That I don't understand
#
GWG
It shows it found User 1, which is you.
#
miklb
it hangs at the syndication links, that's the error on the Omnibear logs
#
miklb
which is what is also weird. I get passed the auth screen and it acts like everything is ok then hangs at getting syndication links and shows the error in its logs. I thought I linked to that at some point. I could be wrong
#
miklb
or I am about to actually understand how the auth works :-)
#
miklb
it shows the token is authed in the admin and Omnibear has a token stored.
#
GWG
Queries and Posts both require auth
#
GWG
So, it is hanging trying to get the syndication because it needs auth to get it
#
miklb
gotcha.thanks for explaining
#
miklb
but it is only with Omnibear
#
GWG
And Omnibear had the problem before that it was trying to use cookie auth
#
miklb
I had cleared cookies, logged out of both the extension and my WP site, and stepped through it with the 1.2 beta and same 403 error. It's not the end of the world for me personally as I've never been able to use it. I'd love to solve it, but it's not a blocker for me.
#
miklb
but if it helps the others who have similar error, I'll do what ever I can to help debug
#
GWG
My next step is to add the ability to IndieAuth to generate a token so I can do command-line testing.
#
GWG
It's a feature on the list anyway
#
GWG
Basically, put in an endpoint in the IndieAuth plugin that allows testing the header and such, also a feature request.
#
miklb
so I just tried disabling the indieauth plugin and authorize with Omnibear and says missing endpoints. So micropub doesn't work as a standalone plugin?
#
miklb
or am I forgetting a step for using something different.
#
miklb
here is one of the logs from Omnibear https://gist.github.com/miklb/0243dcafacae2b58f4cfba4c79d31531 if it helps
#
GWG
miklb: It does. It should fall back to Indieauth.com
#
miklb
well, Omnibear doesn't even start the connection, saying endpoints missing. Do I need to manually added something for indieauth.com use?
#
GWG
This is miklb.com?
#
GWG
I just pulled your site and I see the header as the IndieAuth plugin
#
miklb
I switched back to triple check. Turn if off, as soon as I enter my URL in OB it throws error saying missing endpoints. Activate Indieauth, it connects right away.
#
miklb
connects then hangs
#
miklb
it is off again
#
GWG
Then we still have a problem with your site not loading the authorize file.
#
GWG
The one I had the issue with disabling before, if you remember
#
GWG
Remember that started that whole other issue
#
miklb
so Omnibear 1.2 auths fine and I can post from it with micropub 1.4.3
#
miklb
using indieauth
#
miklb
I hadn't actually been able to do that before.
#
GWG
Okay. I just built a new IndieAuth feature to generate a token on the backend for testing.
#
GWG
And I'm going to add a test endpoint
#
miklb
interestingly I'm seeing the reply via micropub issue in 1.4.3 as well.
#
miklb
anyway, just ping me if you me to test anything. I'm going to be busy this week but will have time to test anything you need.
#
Loqi
[dshanske] #110 Add test endpoint and ability to add tokens from backend
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[dshanske] #110 Add test endpoint and ability to add tokens from backend
jeremych_, ben_thatmustbeme, [grantcodes], [jgmac1106], [schmarty], [eddie], miklb_ and jgmac1106 joined the channel
#
Loqi
miklb_: GWG left you a message 8 hours, 24 minutes ago: https://github.com/indieweb/wordpress-indieauth/pull/110
#
miklb_
that looks interesting, but the token gets passed with Omnibear
#
miklb_
oh, right, it takes 2 auths.
#
miklb_
still doesn't fully understand handshake
[tantek], [schmarty], jgmac1106, [manton] and [keithjgrant] joined the channel
#
GWG
miklb, the idea is that with a manual token and a simple test endpoint diagnosis may be easier
[keithjgrant], [gregorlove] and [manton] joined the channel