#4370 API should never redirect to login url

v1.0.0
closed
nobody
General
2015-08-20
2012-06-13
No

With invalid oauth tokens or when accessing a /rest/ URL without proper permission, a redirect is issued to http://sourceforge.net/account/login.php That makes no sense for a rest API. It should return a 401 or 403 status code.

Related

Tickets: #4370
Tickets: #6242

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-04-22
    • labels: api --> api, 42cc
     
  • Igor Bondarenko

    Igor Bondarenko - 2013-04-23
    • status: open --> in-progress
     
  • Igor Bondarenko

    Igor Bondarenko - 2013-04-23

    Created #322: [#4370] API should never redirect to login url (1cp)

     

    Related

    Tickets: #4370

  • Igor Bondarenko

    Igor Bondarenko - 2013-04-24

    Closed #322. je/42cc_4370

     
  • Igor Bondarenko

    Igor Bondarenko - 2013-04-24
    • status: in-progress --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2013-04-24
    • QA: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2013-04-24
    • status: code-review --> closed
    • Milestone: forge-backlog --> forge-may-03
     

Log in to post a comment.