# HG changeset patch # User Kim Alvefur # Date 1684411657 -7200 # Node ID 575f52b15f5a85599423e6ff96525b08a2b14642 # Parent 022733437fef55573a8964dd2f81eb1f22be00e2 mod_http_oauth2: Return OAuth error for authz code store error diff -r 022733437fef -r 575f52b15f5a mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Thu May 18 14:02:09 2023 +0200 +++ b/mod_http_oauth2/mod_http_oauth2.lua Thu May 18 14:07:37 2023 +0200 @@ -326,7 +326,7 @@ id_token = id_token; }); if not ok then - return {status_code = 429}; + return oauth_error("temporarily_unavailable"); end local redirect_uri = get_redirect_uri(client, params.redirect_uri);