Closed Bug 910000 Opened 11 years ago Closed 10 years ago

Token Server User Flow doc should note HAWK protocol usage

Categories

(Cloud Services Graveyard :: Server: Token, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: spenrose, Assigned: rfkelly)

References

Details

(Whiteboard: [qa+])

Attachments

(1 file)

Per 820643, the token service is migrating to speak the HAWK protocol. The current documentation at http://docs.services.mozilla.com/token/user-flow.html only mentions MACAuth. It should be updated.
Blocks: 820643
Whiteboard: [qa+]
Blocks: 951987
Yep, this is happening.  Pinging :telliott for review but mostly just to turn our shared attentions towards the docs situation in general.
Attachment #8349867 - Flags: review?(telliott)
Is the canonical implementation of the tokenserver still here? https://github.com/mozilla-services/tokenserver

Because I don't see any changes to use MAC auth there.
> Is the canonical implementation of the tokenserver still here? https://github.com/mozilla-services/tokenserver

It is.

> Because I don't see any changes to use MAC auth there.

There doesn't need to be.  The mac => hawk transition only affects downstream services that consume tokenserver-provided credentials, the tokenserver itself will continue to work as-is.
Ah, pretty neat! (happy to see this was future proof).

That remembers me a comment saying we should specify in the response from the server what is the type of the token we return. 

See https://github.com/mozilla-services/tokenserver/blob/master/tokenserver/views.py#L206
Attachment #8349867 - Flags: review?(telliott) → review+
I'm a bit sad to close a bug with such an awesome bug number, but here we go:

https://github.com/mozilla-services/docs/commit/6a3c3b7bf2c68146b0346573c88be9ff25b066dd
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Verified here: https://github.com/mozilla-services/docs
Status: RESOLVED → VERIFIED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: