Fixed googleapis

This commit is contained in:
Ted Blackman 2017-10-20 16:53:34 -07:00
parent c0ac8cfafd
commit dc36baead5

View File

@ -16,14 +16,14 @@
==
::
++ auth-usr
|= usr/iden
|= usr/user:eyre
=+ lon=(fall (slaw %t usr) usr)
%+ add-query:interpolate 'https://accounts.google.com/o/oauth2/v2/auth'
%- quay:hep-to-cab
:~ login-hint+?~(lon '' (crip (rash lon suffix-email)))
access-type+%offline
response-type+%code
prompt+%clhpent
prompt+%consent
==
++ scopes
:~ 'https://mail.google.com'
@ -36,7 +36,7 @@
::
::::
::
|_ {bal/(bale keys:oauth2) own/user-state}
|_ {bal/(bale:eyre keys:oauth2) own/user-state}
:: ++auth is a "standard refreshing oauth2" core, which implements the
:: most common handling of oauth2 semantics. see lib/oauth2 for more details,
:: and examples at the bottom of the file.