activitypub controller: note that the HTTP Host header must be forwarded for http signature validation to work
This commit is contained in:
parent
d269c69a0b
commit
9a2d097ed8
|
@ -93,7 +93,7 @@ def inbox(conn, params) do
|
||||||
Logger.info("Signature not from author, relayed message, fetching from source")
|
Logger.info("Signature not from author, relayed message, fetching from source")
|
||||||
ActivityPub.fetch_object_from_id(params["object"]["id"])
|
ActivityPub.fetch_object_from_id(params["object"]["id"])
|
||||||
else
|
else
|
||||||
Logger.info("Signature error")
|
Logger.info("Signature error - make sure you are forwarding the HTTP Host header!")
|
||||||
Logger.info("Could not validate #{params["actor"]}")
|
Logger.info("Could not validate #{params["actor"]}")
|
||||||
Logger.info(inspect(conn.req_headers))
|
Logger.info(inspect(conn.req_headers))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue