[tantek]Web sign-in is about the UX of doing so (see https://indieweb.org/Web_sign-in#Details for minimum expected UX), not about support of any particular backend protocol (which can be used to support said UX, though no specific protocol is required)
jjuran, mro, superkuh, [schmarty], [snarfed], [fluffy], neceve, jacky and jacky_ joined the channel
jboveomz13: Thanks - a quick check shows me 3 elements with the class name "h-card" - a bit weird how the indiewebify check would crash on that. Will see further.
jboveerror "Something bad happened when asking the AS (https://indieauth.com/auth) to verify a code: expected response to be application/json but application/x-www-form-urlencoded"
omz13fyi, toolbox's fetch resource is very naïve for the mf dump... it simply dumps all objects and does not take into account where they originate in the DOM... the profile discovery function is more sophisticated and sensitive (and I look at the tomorrow when there is fresh coffee in my body)
omz13no worries; I had intermittent login failures that I could not locate, so finally good to discovery and fix. Ironically I have better response handling code elsewhere and had not refactored it into this handler.
gRegorgood q on whether it should return an array. I made it return a string to match the code example. The string is what I want, going to insert it into the HTML.