{% extends "base.html" %} {% block title %}Command-line login | {{ app_name }}{% endblock %} {% block content %}

Command-line login

Connect a terminal that ran agent-supra login to this workspace.

{% if error %}{% endif %} {% if done == "approve" %}

Approved

Go back to your terminal. It finishes on its own and saves a new API key there. You can revoke it any time under API keys.

{% elif done == "deny" %}

Denied

No key was created. The terminal will stop waiting.

{% elif login %}

Approve this login?

Check that your terminal shows this exact code. Approve only a login you started yourself: approving creates an API key for {{ session.workspace_name }} on that computer.

{{ login.user_code }}

Requested by: {{ login.client_name }}

{% else %}

Enter the code from your terminal

{% endif %} {% endblock %}