2015-05-07 00:00:06 +03:00
|
|
|
::
|
|
|
|
::::
|
|
|
|
::
|
|
|
|
/? 314
|
|
|
|
/= gas /$ fuel
|
|
|
|
::
|
|
|
|
:::: ~sivtyv-barnel
|
|
|
|
::
|
|
|
|
!:
|
|
|
|
^- manx
|
|
|
|
|
|
|
|
=+ authcode=(fall (~(get by qix.gas) %'code') '')
|
|
|
|
;html
|
|
|
|
;head
|
|
|
|
;title: Coinbase Auth
|
2015-05-07 09:49:30 +03:00
|
|
|
;script@"/~/at/home/lib/urb.js";
|
2015-05-07 00:00:06 +03:00
|
|
|
==
|
|
|
|
;body
|
|
|
|
;*
|
|
|
|
?~ authcode
|
|
|
|
:_ ~
|
|
|
|
;div: Something went wrong. Please try to auth again.
|
|
|
|
;=
|
|
|
|
;script: authcode = {(pojo %s authcode)}
|
|
|
|
;script:'''
|
|
|
|
if (authcode)
|
|
|
|
urb.send({
|
|
|
|
appl: "bit",
|
|
|
|
data: authcode,
|
|
|
|
mark: "oauth2-code"
|
|
|
|
}, function(){
|
|
|
|
})
|
|
|
|
'''
|
|
|
|
;div: 'Success. Your auth-token has been sent to your app. You can close this now.'
|
|
|
|
==
|
|
|
|
==
|
|
|
|
==
|