# HG changeset patch # User Kim Alvefur # Date 1678993172 -3600 # Node ID 9629971e307fb6b3b21e2696b89d117847c63a9f # Parent b2120fb4a27958c5fedbc9e5118180b2b5c5dbc4 mod_http_oauth2: Fix userinfo status code off-by-one diff -r b2120fb4a279 -r 9629971e307f mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Thu Mar 16 19:28:44 2023 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Thu Mar 16 19:59:32 2023 +0100 @@ -723,7 +723,7 @@ -- permissions and scopes granted. } return { - status_code = 201; + status_code = 200; headers = { content_type = "application/json" }; body = json.encode(user_info); };