;;; Code:
(require 'plstore)
+(require 'json)
(defun oauth2-request-authorization (auth-url client-id &optional scope state)
"Request OAuth authorization at AUTH-URL by launching `browse-url'.
(if (string-match-p "\?" url) "&" "?")
"access_token=" (oauth2-token-access-token token)))
+;; Local variable from `url'
+;; defined here to avoid compile warning
+(defvar success)
+
;;;###autoload
(defun oauth2-url-retrieve-synchronously (token url)
"Retrieve an URL synchronously using TOKENS to access it.