Skip to content
This repository was archived by the owner on Jul 22, 2026. It is now read-only.
This repository was archived by the owner on Jul 22, 2026. It is now read-only.

Add support for JAAS authentication flows #1279

Description

@jsimpso

Description

Currently I'm unable to authenticate to a JAAS controller using pylibjuju, as JAAS doesn't support authenticating with username/password or macaroons. It would be great if we could use Oauth2 client credentials here to talk to JAAS, similarly to the Juju Terraform provider

Urgency

It would save from a weird workaround

Code I'd Like to Run

controller = Controller()
await controller.connect(
    endpoint='jaas.example.com',
    client_id='3c80d136-0115-4ba4-880f-a6158f419d7c',
    client_secret='a0e5fb1e-434d-4007-994d-c56673a34cd3',
    cacert=None,
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions