Sign in to your organization
Sign in to your organization's Ringleader console from the application or the command line, and choose the namespace your commands use by default.
Sign in to your organization’s Ringleader console from the application or the command line, and choose the namespace your commands use by default. You want this when you join an organization, or when your session has ended and Ringleader asks you to sign in again.
Prerequisites
- Install Ringleader.
- The address of your organization’s Ringleader console, if it isn’t
https://app.ringleader.dev. - The examples use a namespace named
team-a. Replace it with one of yours.
Sign in
You sign in once per Ringleader console. A device signs in to one console at a time, so
signing in to a different one is refused until you run rl auth logout.
Use the application
- In the account menu at the bottom of the sidebar, click Account.
- On the Sign in to Ringleader Console card, start the device-code sign-in, and follow it in your browser. The Account page then shows the console you are signed in to, with your user.
The application offers one console. To sign in to another, use the command line.
Use the command line
Run the login. With no address, it signs in to
https://app.ringleader.dev:rl auth loginFor another console, give its address:
rl auth login https://ringleader.example.comFollow the device-code sign-in in your browser. The command stores your session when you finish.
Check your sign-in
Run rl auth status. It shows who you are, the console you are signed in to, and
whether the daemon is running. It answers even when the console can’t be reached.
rl auth statusTo also see what you are allowed to do, add --show-access.
The application’s Account page shows who you are and the console you are signed in to. The check is otherwise command-line only.
Choose your default namespace
A command that doesn’t name a namespace with -n uses the one pinned on this device, then
the default your sign-in assigned, then local. Pin one to stop typing -n.
Pin the namespace:
rl namespace use team-aThe command prints
namespace pinned to "team-a".Optional: Check what bare commands target, and why:
rl namespace useThe output is
team-a (pinned on this device).
To drop the pin and follow your sign-in’s default again, run rl namespace use --unset. Pinning a namespace is command-line only.
Troubleshoot
- If
rl auth statussayssession expired, sign in again with the command it names, such asrl auth login https://cp.example.com. A session lasts 90 days from the time you sign in, and signing in again is the only fix. The application shows a Session expired notice with a Sign in again button. - If
rl auth loginis refused because you are signed in to a different console, runrl auth logout, then sign in again.
Next steps
- Authentication commands lists every
rl authcommand and flag, including sign-in for a script or a CI job. - Desktop application describes the Account page.
- Complete Ringleader setup walks through the application’s first-run screens, which include signing in.