{% extends "base.html" %} {% block title %}{{ "Reconfigure" if reconfiguring else "Setup" }} — Firebreak{% endblock %} {% block body_class %}landing-page{% endblock %} {% block main_class %}{% endblock %} {% block content %}
Firebreak

{{ "Reconfigure" if reconfiguring else "Setup" }}

{% if reconfiguring %}

Update your Forgejo OAuth connection. Make sure the OAuth application is registered in your Forgejo instance before continuing.

{% else %}

Connect Firebreak to your Forgejo instance. You'll need to register an OAuth application in Forgejo first.

{% endif %}
{% if not reconfiguring %}

How to get your OAuth credentials:

  1. In Forgejo, go to Settings → Applications
  2. Under Manage OAuth2 Applications, create a new app
  3. Set the redirect URI to
    {{ oauth_callback_url }}
  4. Copy the Client ID and Client Secret into the form below
{% endif %}
{% if not reconfiguring %}

Printed to the server console on first boot.

{% endif %}

The address Forgejo redirects back to after sign-in, and the origin share links point at. Pre-filled from how you reached this page — change it to your real domain once Firebreak is deployed.

{% endblock %}