Enable user/password login

Bug #1074423 reported by Gary Poster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-gui
Fix Released
High
Benji York

Bug Description

See bug 1074419

It should be possible for the GUI to accept authentication requests from the websocket via some mechanism; display the authentication challenge; and log in.

Kapil has encouraged us to start this before bug 1074419 is completed, because he has given us the wire protocol for the authentication challenge:

http://paste.ubuntu.com/1397723/

Note that we also want to support a non-authenticated approach, which will behave as it does now (passing provider_type and default_series immediately on connection).

When we get the login-required state, we can require a login with an interceptor in the dispatch rules. From Kapil: """a route match to "*" that doesn't let the next rule match proceed if login isn't there.. it will just do the login dialog display."""

We should get a UI design for this, but it is simple enough in functionality that we can get something working before then, and add a separate card for matching it to the desired design later.

Tags: deploy-story

Related branches

Gary Poster (gary)
description: updated
Revision history for this message
Gary Poster (gary) wrote :

Use lp:~hazmat/juju/rapi-login for a branch of Juju that supports the expected behavior.

Revision history for this message
Gary Poster (gary) wrote :
Benji York (benji)
Changed in juju-gui:
assignee: nobody → Benji York (benji)
milestone: none → 0.1.1
status: Triaged → In Progress
Benji York (benji)
Changed in juju-gui:
milestone: 0.1.1 → 0.1.3+build.302
Gary Poster (gary)
Changed in juju-gui:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.