From eba6987fd55c2cc94393c61e6bbd86514e14993b Mon Sep 17 00:00:00 2001 From: default Date: Sat, 8 Apr 2023 07:04:40 +0200 Subject: Added some OAuth scaffold code. --- httpd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'httpd.c') diff --git a/httpd.c b/httpd.c index 183e194..e220d29 100644 --- a/httpd.c +++ b/httpd.c @@ -185,6 +185,10 @@ void httpd_connection(FILE *f) status = activitypub_post_handler(req, q_path, payload, p_size, &body, &b_size, &ctype); + if (status == 0) + status = oauth_post_handler(req, q_path, + payload, p_size, &body, &b_size, &ctype); + if (status == 0) status = mastoapi_post_handler(req, q_path, payload, p_size, &body, &b_size, &ctype); -- cgit v1.2.3