Files
html/gws-setup.html
2026-04-12 22:57:03 +02:00

9 lines
1.6 KiB
HTML

<!DOCTYPE html><html lang="fr"><head><meta charset="UTF-8"><title>GWS OAuth Setup</title><meta name="viewport" content="width=device-width,initial-scale=1">
<style>*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui;background:#0a0e1a;color:#c8d0e0;padding:40px}h1{font-size:1.8em;color:#818cf8;margin-bottom:32px;text-align:center}.step{background:#111827;border:1px solid #1e293b;border-radius:12px;padding:24px;margin-bottom:16px;max-width:700px;margin-left:auto;margin-right:auto}.step h2{color:#34d399;font-size:1em;margin-bottom:8px}code{background:#0d1117;padding:4px 8px;border-radius:4px;font-size:.85em;color:#818cf8}a{color:#60a5fa}</style></head><body>
<h1>GWS OAuth Setup &mdash; Step 5/5</h1>
<div class="step"><h2>Step A &mdash; Consent Screen</h2><a href="https://console.cloud.google.com/apis/credentials/consent" target="_blank">&rarr; Ouvrir Consent Screen</a><br>User Type: <b>External</b> &rarr; Create &rarr; App Name: <code>weval-gws</code> &rarr; Save through all screens</div>
<div class="step"><h2>Step B &mdash; Create OAuth Client</h2><a href="https://console.cloud.google.com/apis/credentials" target="_blank">&rarr; Ouvrir Credentials</a><br><b>Create Credentials</b> &rarr; <b>OAuth client ID</b> &rarr; Type: <b>Desktop app</b> &rarr; Create</div>
<div class="step"><h2>Step C &mdash; Coller dans PowerShell</h2>Copier le <b>Client ID</b> et <b>Client Secret</b> du dialog Google<br>Les coller dans le wizard <code>gws auth setup</code> dans PowerShell</div>
<div class="step"><h2>Step D &mdash; Test</h2><code>gws auth login</code><br><code>gws drive files list --params '{"pageSize": 3}'</code></div>
</body></html>