Authenticate Accounts via OpenID Connect¶

Note

OpenID Connect Authentication is a Flower Enterprise feature. See Flower Enterprise for details.

In this guide, you’ll learn how to configure SuperLink with account authentication and how to log in using the flwr CLI. Once logged in, Flower accounts can run CLI commands that interact with the SuperLink.

Important

Account authentication does not replace resource-level access checks. Run ownership, federation membership and roles, and entitlements continue to constrain what an authenticated account can access.

Prerequisites¶

To enable account authentication, the SuperLink must be deployed with an OpenID Connect (OIDC) provider. The OIDC provider verifies account identity and supplies the account information used by SuperLink’s ownership, federation, and entitlement checks.

Run authenticated flwr CLI commands¶

With the above steps completed, you can now run flwr CLI commands against a SuperLink setup with account authentication. For example, you can run the flwr run command to start a Flower app:

$ flwr run
🎊 Successfully started run 1859953118041441032

SuperLink uses the authenticated account identity to enforce access to specific runs and federations through ownership, federation membership and roles, and entitlement checks.