Thanks Francesco - I didn't realize that the base64-decoded value was in
fact the
json-serialized macaroon.
Now I have valid macaroons, but I'm still getting the "redirection
required" error
message back from the Login api, and I have no idea why. Digging around in
juju
code trying to figure it ou
> On 5 Nov 2016, at 23:07, Tim Van Steenburgh
> wrote:
>
> Can anyone tell me how the macaroons in ~/.go-cookies are encoded? If I try to
> deserialize the 'Value' value directly (using libmacaroons), I get an
> 'invalid macaroon'
> error. I also tried base64-decoding the value first, and that
Can anyone tell me how the macaroons in ~/.go-cookies are encoded? If I try
to
deserialize the 'Value' value directly (using libmacaroons), I get an
'invalid macaroon'
error. I also tried base64-decoding the value first, and that didn't work
either.
My plan is to grab macaroons out of ~/.go-cookie
Through Identity manager and SSO with macaroons. You'll have them in
~/.go-cookies and ~/.local/share/juju/usso-store-token (or something like
that).
Feel free to ask in #jaas
On Fri, Nov 4, 2016 at 6:51 PM, Tim Van Steenburgh <
tim.van.steenbu...@canonical.com> wrote:
> If I `juju register` a s