external user can't login to a controller

Bug #1621066 reported by Uros Jovanovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Andrew Wilkins

Bug Description

I've got a controller up and it's been configure to use USSO for users and addmodel ACL to everyone@external.

I can create a model as external user, as well as some local user can grant me access as @external user. "juju models" return the list of models. Once a model is created, macaroons are retrieved, and I can act as external user.

But say that .go-cookies and store-usso-token are removed (or expired). The question is, how do I login as external user? "juju login uros-jovanovic@external" seems wrong as that info is provided by SSO.

Even if I try to login as external, it fails (as there's no record in the DB about that user).

parallels@ubuntu:~/.local/share/juju$ juju login
username: uros-jovanovic@external
ERROR user name "uros-jovanovic@external" not valid

This is really important in the case where I share my model to someone@external. How do they login to that model?

For now, getting credentials from SSO only works when you do "juju add-model", then the login procedure is started.

Changed in juju:
milestone: none → 2.0-beta18
assignee: nobody → Alexis Bruemmer (alexis-bruemmer)
importance: Undecided → High
status: New → Triaged
Andrew Wilkins (axwalk)
Changed in juju:
status: Triaged → Fix Committed
assignee: Alexis Bruemmer (alexis-bruemmer) → Andrew Wilkins (axwalk)
Revision history for this message
Uros Jovanovic (uros-jovanovic) wrote :

QA OK, thanks for the fix Andrew.

Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → 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.