2021-04-18 UTC
shoesNsocks, [tw2113_Slack_], shoesNsocks1, IWSlackGateway3, KartikPrabhu, ShadowKyogre, __minoru__shirae and [kimberlyhirsh] joined the channel; ShadowKyogre left the channel
tomlarkworthy joined the channel
# 09:03 tomlarkworthy my server will indieauth with micro.blog but not indieauth.com (403). I think I am doing PKCE flow, not sure if micro cares.
# 09:59 tomlarkworthy Hmmm. are google addresses blocked? I am sending request from a cloud run instance?
# 10:11 tomlarkworthy ok it was something dumb, apparently setting the Accept header to application/json messes something up in a strange way
dhanesh, ShadowKyogre and shoesNsocks joined the channel; ShadowKyogre left the channel
# 12:10 tomlarkworthy I am so close... "Status: 400 error=invalid_request&error_description=The+authorization+code+has+already+been+used" except have a double redirect somewhere...
__minoru__shirae joined the channel
# 12:55 tomlarkworthy OK this is related to some other weird stuff I had happening earlier. I end up sending a referrer but not an origin header and that trips some kinda of block which is the 403
# 12:56 tomlarkworthy then the 403 causes a retry and thats how I end up burning my one shot at a code exchange.
# 12:56 tomlarkworthy doing it using form params seems to work though!
# 12:57 tomlarkworthy I have successfully authenticated using IndieAuth from both IndieAuth.com and micro.blog, and I am sending PKCE code_challanges
# 12:58 tomlarkworthy Hmm, I don;t think indieAuth does the code challange either :/ So not sure that works yet
[KevinMarks], shoesNsocks and tomlarkworthy joined the channel
# 15:54 tomlarkworthy but works if you include the origin header
# 15:55 tomlarkworthy thats a 403 forbidden, works if you include the origin
# 15:56 tomlarkworthy I will file an issue coz it prevents me using the json response
# 16:02 Loqi [tomlarkworthy] #216 403 Forbidden if origin header not included for JSON autheorization_endpoint response
# 16:49 jacky re: PKCE, IndieAuth and code verification methods, I'm guessing everyone's only implemented SHA256? Is there some sort of way to get a hint as to what methods an endpoint might support?
shoesNsocks joined the channel
# 17:04 jacky nah this is like if I sent a code_challenge_method and code_challenge to an endpoint - how would it handle methods it doesn't recognize/support
# 17:05 jacky ah perfect, that's a hint to at _least_ support those
# 17:05 tomlarkworthy I guess they set it up for extensions down the line but yeah, seems like S256 is the only real option
# 17:06 jacky yeah like I guess not including MD5 or SHA1 is sensible, lol, but I am curious about things like SHA224, 384 and 512
# 17:07 jacky granted, IIRC SHA384 === SHA512 and SHA224 === SHA256 (just truncated)
jamietanna joined the channel
# 17:09 Loqi [aaronpk] #43 Consider using OAuth Server Metadata
# 17:10 jacky this is the thing I was trying to remember earlier when [schmarty] mentioned something re: IndieAuth and metadata via like scope URLs
# 17:12 tomlarkworthy anyway, its not a big deal for me so I do not care if you ignore
# 17:13 jacky I think referrer is missing a 'r' in that example in your issue on GitHub, tomlarkworthy
[tw2113_Slack_] joined the channel
# 17:16 jacky so now I wonder if frameworks or tools have been rewriting for me
# 17:16 tomlarkworthy yeah its hilarious but also a cause of problems coz I truly don;t know how to spell it anymore
# 17:17 jacky this happened because his spell checker didn't catch it
shoesNsocks joined the channel
# 18:14 tomlarkworthy I would expect the very last redirect to fail to issue a token as the state param won't match, but as long as it properly uses your IndieAuth settings I am happy
KartikPrabhu joined the channel
# 19:01 jacky oh I completely forgot my new site doesn't expose anything
# 19:02 jacky hmm tomlarkworthy I tried signing in using Gitlab and that failed
[KevinMarks] and minoru_shiraeesh joined the channel
# 19:32 tomlarkworthy oh good one, I have the gitlab regex but not an oauth client on the backend for it :/ I should not be advertising suport for it...
[Rose] joined the channel
# 19:45 jacky hm, I don't know how to get back to the original page/noteobook from here
shoesNsocks, [jeremycherfas], GWG and marinin[t] joined the channel
# 21:06 tomlarkworthy but you have to select @endpointservices as the service provider
sumner, [scojjac] and shoesNsocks joined the channel