aboutsummaryrefslogtreecommitdiff
path: root/sx-auth.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-auth.el')
-rw-r--r--sx-auth.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/sx-auth.el b/sx-auth.el
index 66968a5..ac3bb17 100644
--- a/sx-auth.el
+++ b/sx-auth.el
@@ -35,7 +35,7 @@
(defconst sx-auth-root
"https://stackexchange.com/oauth/dialog")
(defconst sx-auth-redirect-uri
- "http://seanallred.com/sx.el/auth/auth.htm")
+ "https://vermiculus.github.io/sx.el/auth/auth.htm")
(defconst sx-auth-client-id
"3291")
(defvar sx-auth-access-token
@@ -112,6 +112,9 @@ following privileges are requested:
* no_expiry
do not pester you to reauthorize again
+* private_info
+ TODO explanation.
+
After authorization with StackExchange, the user is then
redirected to a website managed by SX. The access token required
to use authenticated methods is included in the hash (which is
@@ -128,8 +131,7 @@ parsed and displayed prominently on the page)."
no_expiry
private_info
write_access))
- (redirect_uri . ,(url-hexify-string
- sx-auth-redirect-uri)))
+ (redirect_uri . ,sx-auth-redirect-uri))
","))))
(browse-url url)
(read-string "Enter the access token displayed on the webpage: ")))