commit | 8efb2f60a992b41edf6739f6d36cc00521752a01 | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Mon May 18 10:57:34 2015 -0700 |
committer | Suharsh Sivakumar <suharshs@google.com> | Mon May 18 18:27:49 2015 +0000 |
tree | bd9006a90be238ae1fbd288d02d8d8cee03d0f2e | |
parent | af6cccc21414d6ebb2b1b41cbe5acdfac282531b [diff] |
cmd/principal,services/identity: Propagate cancellation and errors from identity server to principal tool. This change does the following: (1) Clicking the cancel button at the addcaveats page sends a cancel error to the identity server. (2) All errors encountered after a toolRedirectURL is decoded are propagated to that url. (3) If the principal tool recieves a identity server error, it will not attempt to seek a blessings. This ensure that cancelling a auth flow doesn't leave the principal tool hanging, and clearly tells the user that they were successful in their cancellation. address vanadium/issues#492 Change-Id: Ia142161bcd85bf5d84971e64d7d645ff98d49bfb
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.