Hi all,I followed the initial steps here, for using Google's GITkit implementation of an 'Account Chooser'.But I still have a few questions, as I don't quite know how to handle the entire data flow.A) don't quite understand how ID Provider authentication, fits into my data model- when implementing the callbackURL, what data should I expect, and how's thatsession state managed by GITkit (and all Account Choosers)
B) Is there a way to set this up the 'callbackURL' for development.
- the identity provider would need a URL that it can redirect back to
C) How can the GITkit / Account Chooser workflow let my users register an account that's native to my app?
Thanks in advanceTim
| client.clj:36 | clj-http.client/wrap-exceptions[fn] |
| client.clj:152 | clj-http.client/wrap-basic-auth[fn] |
| client.clj:110 | clj-http.client/wrap-accept[fn] |
| client.clj:122 | clj-http.client/wrap-accept-encoding[fn] |
| client.clj:101 | clj-http.client/wrap-content-type[fn] |
| client.clj:179 | clj-http.client/wrap-form-params[fn] |
| client.clj:167 | clj-http.client/wrap-method[fn] |
| cookies.clj:114 | clj-http.cookies/wrap-cookies[fn] |
| client.clj:244 | clj-http.client/post |
(client/post{ :body final-body:content-type :json})
{"requestUri":"\/","postBody":"openid.op_endpoint=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fud&openid.ext1.type.attr9=http%3A%2F%2Faxschema.org%2Fpref%2Flanguage&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawlhyFEoKRJvO3CfmB6avwLoBCn2TB_6t7w&openid.assoc_handle=AMlYA9XasWhGNHfuGRhqyl9QTF5f25LakZjGSbnM_vjn_dcBzzc50BTo&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle%2Cns.ext1%2Cext1.mode%2Cext1.type.attr3%2Cext1.value.attr3%2Cext1.type.auto2%2Cext1.value.auto2%2Cext1.type.attr0%2Cext1.value.attr0%2Cext1.type.attr9%2Cext1.value.attr9%2Cext1.type.attr6%2Cext1.value.attr6&gx.rp_st=AEp4C1sFgUSBiHXQPaQ1_u7c9zNBzrfap-WaNkVw49_jHiZR4jcU7d_MC2nTOFlhXJgMa4mPYqkmJZq3rBRCbfGXWpRquZfGNnMwI29oz1LVfjonYJU3Pz5luIRK8YAciS1_GHF-xwZE&openid.mode=id_res&openid.ns.ext2=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fui%2F1.0&openid.ns.ext1=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&rp_target=callback&openid.ext1.mode=fetch_response&openid.ext1.value.attr9=en-GB&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ext1.value.auto2=109724965185934037912&rp_purpose=signin&openid.ext1.value.attr3=Timothy&openid.ext1.value.attr6=Washington&openid.return_to=http%3A%2F%2F172.16.210.144%3A3000%2FcallbackGitkit%3Frp_target%3Dcallback%26rp_purpose%3Dsignin%26gx.rp_st%3DAEp4C1sFgUSBiHXQPaQ1_u7c9zNBzrfap-WaNkVw49_jHiZR4jcU7d_MC2nTOFlhXJgMa4mPYqkmJZq3rBRCbfGXWpRquZfGNnMwI29oz1LVfjonYJU3Pz5luIRK8YAciS1_GHF-xwZE&openid.ext2.mode=popup&openid.ext1.value.attr0=twashing%40gmail.com&openid.ext1.type.attr0=http%3A%2F%2Faxschema.org%2Fcontact%2Femail&openid.ext1.type.attr3=http%3A%2F%2Faxschema.org%2FnamePerson%2Ffirst&openid.sig=4doqzB7GiHOfJlq664mYCcWLkeQ%3D&openid.ext1.type.attr6=http%3A%2F%2Faxschema.org%2FnamePerson%2Flast&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawlhyFEoKRJvO3CfmB6avwLoBCn2TB_6t7w&openid.response_nonce=2011-12-19T04%3A01%3A23Zhfy107mQ3vrxfA&openid.ext1.type.auto2=http%3A%2F%2Fwww.google.com%2Faccounts%2Fapi%2Ffederated-login%2Fid"}
Exception: slingshot.Stone: clj-http: status 503
client.clj:36 clj-http.client/wrap-exceptions[fn]client.clj:152 clj-http.client/wrap-basic-auth[fn]client.clj:110 clj-http.client/wrap-accept[fn]client.clj:122 clj-http.client/wrap-accept-encoding[fn]
client.clj:100 clj-http.client/wrap-content-type[fn]
client.clj:179 clj-http.client/wrap-form-params[fn]client.clj:167 clj-http.client/wrap-method[fn]cookies.clj:114 clj-http.cookies/wrap-cookies[fn]client.clj:244 clj-http.client/post
...