9 lines
1.6 KiB
HTML
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 — Step 5/5</h1>
|
|
<div class="step"><h2>Step A — Consent Screen</h2><a href="https://console.cloud.google.com/apis/credentials/consent" target="_blank">→ Ouvrir Consent Screen</a><br>User Type: <b>External</b> → Create → App Name: <code>weval-gws</code> → Save through all screens</div>
|
|
<div class="step"><h2>Step B — Create OAuth Client</h2><a href="https://console.cloud.google.com/apis/credentials" target="_blank">→ Ouvrir Credentials</a><br><b>Create Credentials</b> → <b>OAuth client ID</b> → Type: <b>Desktop app</b> → Create</div>
|
|
<div class="step"><h2>Step C — 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 — Test</h2><code>gws auth login</code><br><code>gws drive files list --params '{"pageSize": 3}'</code></div>
|
|
</body></html>
|