HTTP GET /api/v2/tokens/oauth/ returns html instead of json

Bug #1285176 reported by Vincenzo Di Somma
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Fix Released
Medium
Natalia Bidart

Bug Description

The REST API /api/v2/tokens/oauth/tokenkey returns json content, but when accidentally hit with an empty token key, so the URL is just /api/v2/tokens/oauth/, it returns html content instead.

Related branches

Changed in canonical-identity-provider:
assignee: nobody → Natalia Bidart (nataliabidart)
importance: Undecided → Low
status: New → Triaged
Changed in canonical-identity-provider:
importance: Low → Medium
Changed in canonical-identity-provider:
status: Triaged → In Progress
Changed in canonical-identity-provider:
status: In Progress → Fix Committed
Changed in canonical-identity-provider:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.