{% extends "base.html" %} {% block title %}Connect Google Drive{% endblock %} {% block content %}

Connect Google Drive (Manual Mode)

Since this app is running on a server without a public domain, we use a manual copy-paste method for authentication.
Step 1: Authorize

Click the button below to open Google Login in a new tab. You will be asked to allow access.

Authorize on Google
Step 2: Copy the Result

After authorizing, you might be redirected to a page that says "This site can't be reached" or "localhost refused to connect".
This is expected! Copy the entire URL from your browser's address bar (it should look like http://localhost/?code=...).

Step 3: Paste & Verify
{% endblock %}