#known 2016-09-07

2016-09-07 UTC
tantek, loicm_, ben_thatmustbeme, mapkyca, mapkycalog, j12t and cweiske joined the channel
#
cweiske
Hi. I'm trying to connect my micropub client to my local known and get a "400 bad request"/"unrecognized code." response from known when trying to fetch the access token
#
cweiske
where does known store authorization codes?
#
aaronpk
why is the client verifying the auth code?
#
cweiske
to get the real "me" value
#
aaronpk
it should be able to just exchange it for an access token before verifying it
#
cweiske
the final one
#
aaronpk
s/before/without
#
aaronpk
oh interesting... you actually need the token response to include the final "me" value then
#
cweiske
maybe not
#
cweiske
because the callback includes the "me" value
#
cweiske
and if the access token request (which contains me) is successful, then I could assume that the me value sent by the user is correct
#
cweiske
then I could skip auth code verification
#
cweiske
now it works. like and reply on known with shpub!
tantek joined the channel