GNOME Bugzilla – Bug 762059
OSM doesn't ensure that TLS is available for OAuth login
Last modified: 2018-03-26 13:06:53 UTC
The following make errors explicit and make tls a build-time dependency. TLS is a run-time dependency, but it's easiest to ensure the dependency is met at build time as we offer no fallbacks if TLS is unavailable. I also updated the jhbuild dependencies to gnome-maps depends on glib-networking.
Created attachment 321181 [details] [review] build: Depend on glib-networking for tls Without glib-networking you don't have TLS and can't log in to open street maps: Gjs-Message: JS LOG: ERRORRest.ProxyError: TLS/SSL support not available; install glib-networking This autoconf snippet taken from libsoup.
Created attachment 321182 [details] [review] osmConnection: log error if OAuth fails It's not good to silently swallow errors. Adding the log helped me discover that I needed to install glib-networking.
Review of attachment 321182 [details] [review]: LGTM
(In reply to Hashem Nasarat from comment #2) > Created attachment 321182 [details] [review] [review] > osmConnection: log error if OAuth fails > > It's not good to silently swallow errors. Adding the log helped me > discover that I needed to install glib-networking. Absolutely!
Comment on attachment 321182 [details] [review] osmConnection: log error if OAuth fails Attachment 321182 [details] pushed as f7d5610 - osmConnection: log error if OAuth fails
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-maps/issues/45.