⚠️ Clarify client credentials scope requirements and add warning for USER scope usage

This commit is contained in:
2026-01-28 18:40:48 +00:00
parent 816eb7cb67
commit 593a707438

View File

@@ -99,7 +99,10 @@
<!-- Client Credentials (v2.1 only) --> <!-- Client Credentials (v2.1 only) -->
<div v-if="apiVersion === 'v2.1'" class="control-group"> <div v-if="apiVersion === 'v2.1'" class="control-group">
<div class="info-badge" v-if="isClientCredsAuthenticated"> <div class="info-badge" v-if="isClientCredsAuthenticated">
Client Credentials Active - APPLICATION scope enabled Client Credentials Active
</div>
<div class="info-badge warning" v-if="isClientCredsAuthenticated && tournamentScope === ScopeType.USER">
Client credentials may not work with USER scope - switch to APPLICATION scope
</div> </div>
<router-link <router-link
to="/client-credentials" to="/client-credentials"
@@ -108,7 +111,7 @@
Manage Client Credentials Manage Client Credentials
</router-link> </router-link>
<span class="scope-hint"> <span class="scope-hint">
Client credentials required for APPLICATION scope access Client credentials should use APPLICATION scope for tournament access
</span> </span>
</div> </div>
</div> </div>