#known 2020-06-29

2020-06-29 UTC
[Beto], maxwelljoslyn, [Paulo_Pinto], [scottgruber], [mJordan], [chrisaldrich], [georgenancejr], [christopherche], opengoody, [fluffy], [KevinMarks], [jgmac1106], [grantcodes], [Murray], kppDiscord[m], [snarfed], Dby0Discord[m], rklaehnDiscord[m, ptonerDiscord[m], DreamingInCodeDi, WellinkDiscord[m, gunttedDiscord[m, RealSnazzy[m], codynhatDiscord[, CharlieRaptoreum, MairkurDiscord[m, PamileissonDisco, SnowballDiscord[, thestevewayDisco, ShmultzDiscord[m, amatuniDiscord[m, jmank88Discord[m, bitspillDiscord[, l^discordDiscord, cannabysDiscord[, TrevorDiscord[m], suleDiscord[m], QwertyWhoreDisco, Lolicon[m], sekiDiscord[m], mapachurroDiscor, kppDiscord[m]1, AnthonyCBuddDisc, dqxDiscord[m], IgutinDiscord[m], vbDiscord[m], RomainDiscord[m], foxcoolDiscord[4, JordanKrageDisco, WesDiscord[m], crestDiscord[m], neohexDiscord[m], wourslerDiscord[, sacha[m], jimpickDiscord[m, iiogama[m], Sean|FortmaticDi, oed3[m], JD9Discord[m], Canti0001[m], RDeckardDiscord4, Valium8862[m], MissLavenderDisc, astraiaDiscord[m, sprayDiscord[m], M4eekDiscord[m], wossDiscord[m]1, ithithDiscord[m], olizillaDiscord[, KirushikDiscord[, hazDiscord[m], celsoDiscord[m]1, ambackDiscord[m], kanejDiscord[m], DoppelgngerDisco, SmileRobotDiscor, CarboClanCDiscor, SirMemesALotDisc, OxyDiscord[m], captain-nemoDisc, zcopleyDiscord[m, TeamIanDiscord[m, Elijah3321[m], sbpDiscord[m], manfredDiscord[m, raisDiscord[m], Exca1iburTheWise, RobotLordimperia, RockSteadyTRTLDi, celso[m]1, jenncloudDiscord, amimDiscord[m], simibacDiscord[m, HaybalesDiscord[, DoggersUniteDisc, Oxy[m], SomeguyDiscord[m, gmelodieDiscord[, paulmahoneDiscor, shivankDiscord[m, itsmekntDiscord[, Dr_JayWDiscord[m, rklaehn[m], ZipperSKDiscord4, Akshay[m], zwelsternDiscord, AuHau[m], IPFSFanDiscord[m, lamborghiniDisco, matyas_mustohaDi, FusonDiscord[m], DamirDiscord[m], nrtxrmndDiscord[, efnDiscord[m], TyphooNDiscord[m, HarryTmeticDisco, romaricDiscord[m, PermawebMatrixBr, KevlarmonkeyDisc, HenniDiscord[m], Romaric[m], cyluDiscord[m], bostaDiscord[m], erlend_shDiscord, corylDiscord[m], borismusDiscord[, macerbiDiscord[m, richarddavisDisc, MesaDiscord[m], ianlopshireDisco, AblibuDiscord[m], xtream1101Discor, RichardLittDisco, gumshedDiscord[m, AceFaceDiscord[m, PerinDiscord[m], M|NecoDiscord[m], r5723013Discord[, tttDiscord[m], cam4507[m], UsDiscord[m], godparticleDisco, dosch[m], realChainDiscord, ShokuninDiscord[, Keegen[m], gregjeanmartDisc, anthony-albertor, MMMMaggieDiscord, LSJI07Discord[m], MikeShultzDiscor, SpicoliWhiteDisc, tobowersDiscord[, MasonDiscord[m], obernardovieiraD, scandichainDisco, chris[m]1, M3baidDiscord[m], BossMANDiscord[m, ReallySnazzyDisc, TionisDiscord[m], arjanvaneerselDi, rappelDiscord[m], PhillmacDiscord[, daveatQCDiscord[, raulDiscord[m], achingbrainDisco, plindner[m], FeNiXDiscord[m], bltavaresDiscord, pranayDiscord[m], Senshi[m], JohnnyMilkshakes, JustMaier[m], johanherman[m]1, GuillaumeDiscord, gozala[m], drbhDiscord[m], kanej[m], eshohetDiscord[m, JeffMaherVegas[m, Dazuck-3BoxDisco, felixschlDiscor4, CyOp0x00Discord[, ArunDiscord[m], ksDiscord[m], Sm03leBr00tDisco, drshamoonDiscord, virtual_vagrantD, peatDiscord[m], enricomarino[m], chmanieDiscord[m, gauthamDiscord[m, coryschwartzDisc, h2Discord[m], nek11Discord[m], chinsuDiscord[m], ritewhose[m], MatthDiscord[m], AmineDiscord[m], sblinnDiscord[m], megadogberthehim, celsoDiscord[m], catmanDiscord[m], pankajmendkiDisc, watDiscord[m], sachaDiscord[m], braditzDiscord[m, M0zAND1zDiscord[, wossDiscord[m], celso[m], pcowgillDiscord[, freekurt, RyonezCoruscare0, sukarDiscord[m], hyde__Discord[m], DiscordBridge[m4, icaruszDiscord[m, CathyLDiscord[m], M3baidDiscord[m4, janttoDiscord[m], fozzie[m], koivunejDiscord[, Expherience[m], johanhermanDisc4, DerekDiscord[m], JonwelDiscord[m], jazzy-jeff^_^Dis, tangoDiscord[m], jimpick[m], Hsiu-PingNichola, drshamoon[m], EdmundMDiscord[m, gabrielbaron16Di, reddDiscord[m], JerbsDiscord[m], adinbDiscord[m], Discord[m]1, baluptonDiscord[, TroyDiscord[m], nyarlathotepDisc, brewskiDiscord[m, ngamboaDiscord[m, ScottSmileyDisco, mZ[m], FranklinDiscord[, gorhgorh[m]1, Rick[m], KeegenDiscord[m], RodolfoEDiscord[, jwheelerDiscord[, william_shakesDi, thomasbDiscord[m, maparentDiscord[, AraratDiscord[m], KinnardDiscord[4, jklepatchDiscord, bengoDiscord[m], Imnotsoimpressed, carsonfarmer[m], SuikaDiscord[m], felixschlDiscord, koalalorenzoDisc, thomasDiscord[m], KisulkenDiscord[, nofwayyDiscord[m, malaclypsDiscord, DigitalOilDiscor, ianfixesDiscord[, leoalvarezhDisco, chmanieDiscord[4, JungleHeartDisco, andrewxhillDisco, solanavDiscord[m, radio_aliceDisco, mZDiscord[m]1, NastyEbilPiwateD, JustMaierDiscord, boomshroomDiscor, Discord[m], panDiscord[m], vinDiscord[m], pps96Discord[m], M8431[m], UserDiscord[m], gnunicornDiscord, JayWelsh0845[m], aaronpk[m], richtercamdenDis, ddahlDiscord[m], zoink92Discord[m, Lilz|BetaMe[m], Tianyi[m], khalnayakDiscord, TianyiDiscord[m], [hibs] and [tantek] joined the channel
#
jbove
Hi. Had a question regarding getting "Gimme A Token" by Seb and Known 1.2.2. I'm not getting a token and the process ends on "Client mismatch". What is causing this? Did Known get more picky about how a token is obtained? Some more info: https://social.johanbove.info/2020/06/29/gimme-a-token-client-mismatch-in-known
[chrisaldrich] joined the channel
#
[jgmac1106]
jbove I have so many token issues, I can't use microsub readers for example...hit token isses
#
jbove
Having the same issue in https://monocle.p3k.io/login Indigenous and some other worked, but only after trying two times.
#
jbove
jgmac1106 Which version of Known are you running at the moment?
#
jbove
I did an access token refresh and upgraded Known to 1.2.2
#
jbove
Quill, Aperture, Indigenous and Teacup achieved a token
#
[jgmac1106]
one sec, checking
#
jbove
Monocle is returning this message: " invalid_session /n The session was missing data. Ensure that you are initializing the session before using this library"
#
jbove
Found the code where "Client mismatch" is returned. But I don't know why. https://github.com/idno/indiepub/blob/ed247119548b9fe9311731a1b97fb1436aa5ae5c/Pages/IndieAuth/Token.php
#
aaronpk
do you serve your site from http and https, or have two different domains?
#
aaronpk
oh "empty($headers['Authorization'])"
#
aaronpk
this suggests your web server might be blocking that headre
#
jbove
I tried to force https, but that could be the reason;
#
aaronpk
what web server is this on?
#
jbove
Apache
#
jbove
It's a hosted server
#
[jgmac1106]
Version: 1.1.9+2020041901...thought I was current...so hard to stay current
#
jbove
I mean a shared one
#
aaronpk
i'm 99% sure this is the web host blocking the Authorization headere
#
jbove
aaronpk: thanks for the pointer to the the headers. I will check what I'm doing with the htaccess file.
#
aaronpk
if not, you'll need to ask the host to allow the Authorization header
#
jbove
jgmac1106: also thanks for the response
#
jbove
Now I know where to start looking ;-)
#
sknebel
that error also seems to throw if it just can't find anything for the token, but yes, that seems likely. And known should probably return different errors for "didn't get a token" vs" don't like that token"
[christopherche] and [KevinMarks] joined the channel
#
jbove
I've been trying various things with the htaccess; but still getting "client mismatch". When I do a "GET" with Postman on this URL, https://social.johanbove.info/indieauth/token, with the Authorization header, the result of `self::getallheaders()` includes the "Authorization" key; but when I try the same through gimme-a-token, it seems to miss the "Authorization" header. I've switched off DuckDuckGo privacy protection.
#
jbove
I'm starting to think it's the CSP
#
aaronpk
i thought it used a form post to avoid CSP issues
#
aaronpk
what browser?
#
jbove
The result is different in Chrome. Was first using Firefox. Firefox gave me a Bearer token, when I do the same in Google, I get a simple access_token back.
#
aaronpk
i'm not sure what you mean by "Bearer token" vs "simple access_token"
[JuJu] and [tw2113] joined the channel
#
jbove
jgmac1106: Thanks to help from aaronpk I think I figured out what is going on with the getting tokens in Known. I've added this "link" in the head.tpl.php page of my theme: <link href="https://social.johanbove.info" rel="me" class="u-url"> since Known only adds the rel="me" links to the source code when you're not logged in. When you are, then the homepage is missing any rel="me" and this prevents some IndieAuth sites,
#
jbove
like Monocle, to fail the authorization.
#
jbove
^^^ _to fail_ <- _to pass_
#
aaronpk
that fixed it? monocle doesn't care about rel=me at all tho!
#
jbove
It could be aperture then :-)
#
aaronpk
same tho
#
jbove
Well, this debugging output helped and once I added <link> in the head it worked. https://www.irccloud.com/pastebin/ooycGJcf/
#
jbove
So one problem out of the way. And somehow I managed to get an accesstoken through "gimme-a-token" and can use IFTTT again for PESOS.
[schmarty] joined the channel