Skip to content

Unauthorized users see rate limit message instead of a 401 #62

@philsturgeon

Description

@philsturgeon

If you provide invalid credentials it should 401, not simply fall back to unauthorized user and try to use up the rate limit for other people.

screen shot 2014-05-22 at 6 32 12 pm

This is essentially a silent fail, and could lead to all sorts of crazy problems.

  1. Clients not realizing their tokens are bad
  2. Rate limit is constantly used up for the public by one company with a crap token.

etc.

I'll try and have a look but I might not get around to it as I already have about 5-6 outstanding PRs to write for 3 different projects. If anyone can dive in that would be awesome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions