diff options
author | Milan Crha <mcrha@redhat.com> | 2023-02-21 10:08:38 +0100 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2023-02-21 10:08:38 +0100 |
commit | 8e4d5b65537d54c2d2c9bcce6bf7ea731d472795 (patch) | |
tree | 89173bb51170b4cd8a85ba9304e2240ed68ae053 | |
parent | 01bdb5ae326494019cf51a50f5010760a91815a0 (diff) | |
download | evolution-data-server-8e4d5b65537d54c2d2c9bcce6bf7ea731d472795.tar.gz |
OAuth2 credentials prompter: Log what URI is being opened in the WebKitWebView
There is logged what URI had been loaded, but not what URI had been
opened. These can differ, when the server redirects the used URI
to a different place.
-rw-r--r-- | src/libedataserverui/e-credentials-prompter-impl-oauth2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libedataserverui/e-credentials-prompter-impl-oauth2.c b/src/libedataserverui/e-credentials-prompter-impl-oauth2.c index 9a3918b61..c6a56107d 100644 --- a/src/libedataserverui/e-credentials-prompter-impl-oauth2.c +++ b/src/libedataserverui/e-credentials-prompter-impl-oauth2.c @@ -1318,6 +1318,10 @@ e_credentials_prompter_impl_oauth2_show_dialog (ECredentialsPrompterImplOAuth2 * progress_handler_id = g_signal_connect (web_view, "notify::estimated-load-progress", G_CALLBACK (cpi_oauth2_notify_estimated_load_progress_cb), progress_bar); + if (cpi_oauth2_get_debug ()) { + e_util_debug_print ("OAuth2", "Loading URI: '%s'\n", uri); + } + webkit_web_view_load_uri (web_view, uri); #else /* WITH_WEBKITGTK */ _libedataserverui_entry_set_text (GTK_ENTRY (url_entry), uri); |