]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: mech-oauth2 - Rename continued data to reponse data/payload
authorStephan Bosch <stephan.bosch@open-xchange.com>
Fri, 21 Feb 2025 16:44:56 +0000 (17:44 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 2 Sep 2025 05:25:53 +0000 (05:25 +0000)
Makes more sense in SASL overall

src/auth/mech-oauth2.c

index f35508331cd97c58bc0e2e186fc93c6b60f2ef42..56182f4ebdca0cd792dca6dd4828b029cd5629df 100644 (file)
@@ -262,7 +262,7 @@ mech_oauthbearer_auth_continue(struct auth_request *request,
        const char *token = NULL;
        /* ensure initial field is OK */
        if (*fields == NULL || *(fields[0]) == '\0') {
-               e_info(request->mech_event, "Invalid continued data");
+               e_info(request->mech_event, "Invalid response payload");
                oauth2_fail_invalid_request(oauth2_req);
                return;
        }
@@ -311,7 +311,7 @@ mech_oauthbearer_auth_continue(struct auth_request *request,
                                token = value;
                        } else {
                                e_info(request->mech_event,
-                                      "Invalid continued data");
+                                      "Invalid response payload");
                                oauth2_fail_invalid_token(oauth2_req);
                                return;
                        }
@@ -378,7 +378,7 @@ mech_xoauth2_auth_continue(struct auth_request *request,
                                token = value;
                        } else {
                                e_info(request->mech_event,
-                                      "Invalid continued data");
+                                      "Invalid response data");
                                oauth2_fail_invalid_token(oauth2_req);
                                return;
                        }