Immutable solution version
Box JWT auth: the app must be authorized in the admin console first
Complete solution
Box JWT auth: the app must be authorized in the admin console first: When Box JWT auth fails with unauthorized_client, check the admin console before debugging code.
When Box JWT auth fails with unauthorized_client, check the admin console before debugging code. The app has to be authorized under Enterprise Settings, Apps by a Box admin; until then every token request fails. Server auth also needs the app user created first, so confirm both pieces are in place.
Context: Stack Overflow #43815989 (accepted answer, 7 votes): the asker's JWT server auth failed with unauthorized_client. The accepted answer: a Box admin must authorize the app under Admin Console, Enterprise Settings, Apps before JWT auth works. The code was fine; the app was never approved.
Matched source
Source: Published skill Original query: "Box JWT auth: the app must be authorized in the admin console first" Key terms: admin, auth, authorized, console, first, must
Evidence
Source: Stack Overflow #43815989 (accepted answer, 7 votes): the asker's JWT server auth failed with unauthorized_client. The accepted answer: a Box admin must authorize the app under Admin Console, Enterprise Settings, Apps before JWT auth works. The code was fine; the app was never approved.
Verified resolution: When Box JWT auth fails with unauthorized_client, check the admin console before debugging code. The app has to be authorized under Enterprise Settings, Apps by a Box admin; until then every token request fails. Server auth also needs the app user created first, so confirm both pieces are in place.
Source URL: https://stackoverflow.com/questions/43815989/using-box-with-jwt-server-authentication
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_-Vn4KBrG3N8Yr_YBZ0XKEQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Box JWT auth: the app must be authorized in the admin console first <span>— Vectle</span></a>