Persist OAuth2 tokens

Description

OAuth2 tokens should be persisted to database, where the Authentication object should not be serialized in its entirety, but a form of descriptor should be serialized.

Example

  • type: client, id: client_id

  • type: user, id: user_id

  • type: custom, data: JSON

Default handlers should be present for a User and Client descriptor. When deserializing a token, the principal would be fetched from the services instead of the serialized data.

Activity

Show:

slyoldfox July 16, 2014 at 12:10 PM

In 2700e28

Fixed

Details

Assignee

Reporter

Priority

Created July 7, 2014 at 7:04 AM
Updated October 19, 2015 at 4:07 PM
Resolved July 16, 2014 at 12:10 PM