ritou / p5-oauth-lite2

Perl Library for OAuth 2.0. (The maintainer of this CPAN module was transferred to ritou by lyokato. This is a main repository.)
Other
5 stars 4 forks source link

add new grant_type for federated account #4

Closed ritou closed 10 years ago

ritou commented 10 years ago

This grant type is used for OAuth Server supporting a social login account to require Aceess Token using assertion provided by external service.

  1. Client obtains Access Token from external service(Google, Facebook etc...)
  2. Client sends it to Server
  3. Server verifies it and returns the token of a connected user

assertion_type, assertion_iss, assertion_aud parameter is available to verify the assertion more flexibly.