Skip to content

πŸ› Bug Report: Unauthenticated API Rate Limiting IssueΒ #644

@annrose2277-glitch

Description

@annrose2277-glitch

πŸ“œ Description

// ❌ PROBLEMATIC CODE
const octokit = useMemo(() => {
if (!username) return null;
if(token){
return new Octokit({ auth: token });
}
return new Octokit(); // Unauthenticated requests have strict rate limits
}, [username, token]);
Issue: When no token is provided, Octokit makes unauthenticated requests (60 requests/hour). Should either require token or document this limitation.

Impact: Users hit rate limits quickly, poor user experience, app becomes unusable after few queries.

Recommended Fix: Add token requirement or implement client-side rate limiting with warning.

What browsers are you seeing the problem on?

No response

πŸ“ƒ Relevant Screenshots (Links)

No response

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions