Leon Stringer
5070f0d7ce
MDL-70282 oauth: Improve error information
...
If the request to the OAuth 2 token endpoint fails show the response
body the endpoint returned with its HTTP status (when debug: DEVELOPER).
If no response is available show any error returned by Curl. Previously
none of this information was available making troubleshooting difficult.
If a token refresh fails in \core\oauth2\refresh_system_tokens_task an
exception is now thrown so that the result is shown as "Fail" on
admin/tasklogs.php?filter=core\oauth2\refresh_system_tokens_task
2021-01-28 10:00:18 +00:00
..
2020-04-21 19:29:12 +02:00
2021-01-18 09:20:21 +01:00
2021-01-13 19:11:19 +01:00
2020-12-16 07:50:56 +08:00
2021-01-28 10:00:18 +00:00
2021-01-14 12:03:30 +01:00
2020-10-21 12:46:00 +02:00
2020-12-24 14:39:21 +00:00
2020-04-23 00:45:43 +02:00
2021-01-13 19:11:19 +01:00
2020-09-23 11:18:41 +02:00
2020-10-21 12:45:59 +02:00
2020-10-21 12:46:00 +02:00
2020-12-22 15:58:21 +08:00
2021-01-15 15:07:53 +05:30
2021-01-12 15:57:58 +02:00
2020-11-25 21:35:14 +00:00
2021-01-22 11:30:38 +08:00
2020-09-18 10:01:09 +08:00
2020-10-05 13:38:31 +08:00
2021-01-18 09:30:02 +08:00
2021-01-19 16:35:04 +01:00
2021-01-18 09:28:14 +08:00
2020-08-18 00:47:15 +02:00
2021-01-20 15:52:11 +08:00
2021-01-19 10:02:00 +02:00
2020-04-08 13:12:23 -03:00
2021-01-19 09:05:55 +02:00
2020-10-26 10:48:53 +01:00
2020-05-03 01:28:41 +02:00
2020-04-07 20:54:46 +10:00
2021-01-21 10:32:58 +08:00
2020-11-25 20:44:03 +00:00
2021-01-21 09:32:53 +08:00
2020-12-09 10:51:06 +08:00
2021-01-18 21:05:05 +00:00
2021-01-11 16:20:16 +01:00
2020-10-21 12:46:00 +02:00
2021-01-19 23:43:55 +01:00
2020-04-24 15:56:38 +02:00
2020-10-21 12:45:59 +02:00
2021-01-19 09:47:13 +02:00
2020-09-24 19:41:58 +02:00
2020-09-17 14:16:59 +08:00
2021-01-14 07:32:56 +00:00
2020-12-21 08:43:21 +11:00
2020-03-17 14:52:32 +01:00
2020-11-02 10:41:38 +01:00
2020-10-19 22:40:48 +01:00
2020-11-06 09:30:08 +08:00
2020-04-06 12:22:51 +01:00
2020-10-27 15:34:55 +11:00
2020-11-30 17:25:19 +01:00
2020-05-04 16:01:12 +01:00
2020-09-30 16:02:39 +10:00
2020-11-24 09:59:47 +08:00
2020-11-03 12:34:28 +01:00
2020-08-16 21:03:28 +02:00
2020-10-01 14:51:11 +02:00
2020-10-05 18:33:34 +02:00
2020-06-10 15:46:13 +02:00
2020-07-06 10:02:58 +08:00
2020-12-10 16:46:09 +11:00
2020-05-25 18:35:08 +08:00
2020-04-24 15:56:38 +02:00
2020-09-15 10:37:06 +02:00
2020-12-08 09:10:14 +11:00
2021-01-07 09:14:44 +02:00
2020-12-02 13:43:15 +08:00
2021-01-28 10:00:18 +00:00
2020-12-18 12:06:03 +11:00
2020-12-17 10:04:46 +01:00
2020-12-18 12:06:03 +11:00
2020-12-21 08:43:21 +11:00
2020-10-23 08:04:44 +01:00
2020-09-08 18:59:46 +02:00
2020-06-17 13:06:57 +01:00
2020-12-21 08:43:21 +11:00
2020-11-01 11:02:00 +01:00
2020-11-09 19:45:49 +00:00
2021-01-21 12:19:15 +08:00
2021-01-21 09:49:55 +08:00
2020-09-29 22:37:52 +02:00
2020-11-18 18:03:08 +07:00