-
Notifications
You must be signed in to change notification settings - Fork 523
Add rerun auth
commands
#10744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rerun auth
commands
#10744
Conversation
Latest documentation preview deployed successfully.
Note: This comment is updated whenever you push a commit. |
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
d02ee51
to
5d2f64d
Compare
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/16906562004 |
8525e39
to
41c4e8b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Should we document more the auth commands?
For someone without context it's not necessarily obvious what they are for, I guess.
04cc29b
to
861b8c5
Compare
861b8c5
to
56b148f
Compare
85cc703
to
d82e6e0
Compare
Adds the ability to authenticate to Redap using the CLI.
Adds
rerun auth login
, which implements a login flow based on the OAuth 2.0 Authentication Code flow.Login flow
rerun auth login
in your terminal, which opens a link in the default browserUser logs in using their browser, which sends them to our login callback
The CLI receives credentials from the frontend and stores them locally
There are a few options to ✨ customize the experience:
--no-open-browser
to print a link in the terminal instead of directly opening it in the default browser--force
to run the login flow even in case valid credentials already exist on the user's machine--login-url
to change which login page will be opened (useful for testing against login page frontend running on localhost)To use the token, you can retrieve it using
rerun auth token
:NOTE: While testing, use
--login-url=https://landing-git-jan-login-page-rerun.vercel.app/login
, until the landing PR is merged.