Menu

The sign-in bug that cost a week: OAuth apps versus GitHub Apps
📰

The sign-in bug that cost a week: OAuth apps versus GitHub Apps

DEV Community: github·Galascribe·1 day ago
#GtZRH4vg
#devtogithub#technology#devto#dev#github
Long article (1246 words) — no AI summary yet.
Reading 0:00
15s threshold

Originally published at https://blog.galascribe.com/the-sign-in-bug-that-cost-a-week/ .

On 2026-09-26 I tried to link a GitHub repository to a source in production Galascribe. The app sent me back through GitHub to re-confirm my connection. I did, and was refused the same way. Our API had answered 401 REAUTH_REQUIRED . The answer GitHub had actually given, one layer down, was a 403.

The title counts elapsed time, not effort: from 2026-09-20, when we wrote the instruction that sent us the wrong way, to 2026-09-27, when the list of installations loaded in production.

Two kinds of app that look like one

GitHub has two kinds of application, and we had registered one of each without treating them as different things. An OAuth App signs a person in. A GitHub App is installed on accounts and repositories, and it has its own OAuth client, with its own client id and secret, for acting on behalf of a signed-in user. They issue different tokens.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.