From 8420037d742a406d72e7006a1c895c34264ea146 Mon Sep 17 00:00:00 2001 From: Henry Ault Date: Wed, 24 Feb 2016 01:11:24 -0800 Subject: [PATCH] better handling of refresh tokens, port numbers --- lib/oauth2.hoon | 2 ++ sec/com/googleapis/www.hoon | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/oauth2.hoon b/lib/oauth2.hoon index 37ccf159f..736afb57a 100644 --- a/lib/oauth2.hoon +++ b/lib/oauth2.hoon @@ -50,6 +50,8 @@ ++ urb-hart [| `8.443 [%& /localhost]] :: XX get from eyre ++ toke-url (endpoint dom code-exchange) ++ auth-url + ~& [%oauth-warning "Make sure this urbit". + "is running on {(earn urb-hart `~ ~)}"] ^- purl :+ [& ~ p.dialog] [~ q.dialog] %- fass diff --git a/sec/com/googleapis/www.hoon b/sec/com/googleapis/www.hoon index 602fba4ef..b0a0f2d42 100644 --- a/sec/com/googleapis/www.hoon +++ b/sec/com/googleapis/www.hoon @@ -20,6 +20,7 @@ :~ login-hint+?~(lon '' (crip (rash lon suffix-email))) access-type+%offline response-type+%code + prompt+%consent == -- !: