Strip leading "Bearer " when saving the BCP auth token

DevTools' "Copy value" on the authorization header includes the "Bearer "
prefix, so accept and normalize it instead of requiring users to trim it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MRS5Lvcig4TNpPyviUooGa
This commit is contained in:
2026-09-04 19:38:12 -05:00
co-authored by Claude Sonnet 5
parent 98ed38c5f5
commit 59377a3468
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@
<li>Open your browser's developer tools (<kbd class="kbd kbd-sm">F12</kbd>, or right-click → Inspect) and switch to the <span class="font-semibold">Network</span> tab.</li>
<li>Back on BCP, open any event or your profile so the page makes a new request — refreshing the page works.</li>
<li>In the Network tab, click any request to <span class="font-mono">newprod-api.bestcoastpairings.com</span>.</li>
<li>Find the <span class="font-mono">authorization</span> request header. Copy everything after <span class="font-mono">Bearer </span> — that's your token.</li>
<li>Find the <span class="font-mono">authorization</span> request header and copy its value (pasting the whole thing, including the leading "Bearer ", is fine).</li>
<li>Paste it into the field above and click <span class="font-semibold">Save</span>.</li>
</ol>
<p class="text-xs opacity-50 mt-3">