/v3/auth/tokens vs /v3/auth/token

Bug #1145267 reported by Dolph Mathews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Dolph Mathews

Bug Description

The Identity API v3 spec conflicts with the server-side implementation regarding the path used for token authentication. I'm not sure which is intended to be correct, and which is a mistake.

  /v3/auth/token (spec)
  /v3/auth/tokens (implementation)

Tags: v3api
Revision history for this message
Guang Yee (guang-yee) wrote :

I prefer /v3/auth/tokens for two reasons

1. consistent with other resources. i.e. /v3/users
2. we may actually be returning multiple tokens in the near future for multiple scoping purposes

Revision history for this message
Dolph Mathews (dolph) wrote :

Proposed fix to identity-api based on (1) in: https://review.openstack.org/#/c/23831/

on 2: that would be backwards-incompatible with the current API on several points (X-Subject-Token; single entity in response body at least)

tags: added: v3api
Changed in keystone:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Dolph Mathews (dolph)
Dolph Mathews (dolph)
Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: grizzly-rc1 → 2013.1
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.