You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/modules/account/account.page.html
+79Lines changed: 79 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,85 @@ <h4>API Keys</h4>
143
143
</div>
144
144
</div>
145
145
146
+
<!-- Claude Token Card -->
147
+
<divclass="card shadow-sm mt-6">
148
+
<divclass="p-4">
149
+
<h4class="mb-2">Claude AI</h4>
150
+
<pclass="text-sm text-gray-500 mb-4">
151
+
Use your own Claude API credentials for the AI assistant.
152
+
<br><spanclass="text-xs italic">Token stored locally in your browser, proxied through our servers but never persisted. <ahref="https://github.com/openworkers/openworkers-api/blob/main/src/routes/ai.ts" target="_blank" class="text-blue hover:underline">Source code</a>.</span>
<tdclass="py-2">⚠️ Hacky. Uses Claude Pro/Max. Auto-refreshes but invalidated on server restart.</td>
184
+
</tr>
185
+
</tbody>
186
+
</table>
187
+
</div>
188
+
189
+
<pclass="text-xs text-gray-400 mb-4">
190
+
<strong>Note:</strong> OAuth tokens (refresh/access) exploit Claude Code's OAuth flow to use your Claude Pro/Max subscription.
191
+
This is unofficial and may break at any time. Refresh tokens rotate on each use — we keep track in memory, but a server restart will require you to generate a new token.
0 commit comments