mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 04:11:49 +03:00
38 lines
705 B
Plaintext
38 lines
705 B
Plaintext
|
::
|
||
|
::::
|
||
|
::
|
||
|
/? 314
|
||
|
/= gas /$ fuel
|
||
|
::
|
||
|
:::: ~sivtyv-barnel
|
||
|
::
|
||
|
!:
|
||
|
^- manx
|
||
|
|
||
|
=+ authcode=(fall (~(get by qix.gas) %'code') '')
|
||
|
;html
|
||
|
;head
|
||
|
;title: Coinbase Auth
|
||
|
;script@"/~/at/main/lib/urb.js";
|
||
|
==
|
||
|
;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.'
|
||
|
==
|
||
|
==
|
||
|
==
|