Name: doorkeeper_assertion_flow
Owner: Wantedly, Inc.
Description: OAuth assertion flow patch for doorkeeper
Created: 2018-05-17 02:42:46.0
Updated: 2018-05-17 02:42:48.0
Pushed: 2018-05-17 03:15:39.0
Homepage: http://rubygems.org/gems/doorkeeper_assertion_flow
Size: 7
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Extension of https://tools.ietf.org/html/draft-ietf-oauth-assertions-18 for doorkeeper.
'doorkeeper'
'doorkeeper_assertion_flow'
t_flows %w[assertion authorization_code implicit password client_credentials]
urce_owner_from_assertion do
= params[:assertion] || {}
uth = UserOauth.find_by p.slice(
:provider,
:uid,
oauth
oauth.refresh_credentials p.slice(
:token,
:token_secret,
:token_expires_at,
)
oauth.user_account if oauth.save
d
This project is copyright by Creasty, released under the MIT lisence.
See LICENSE
file for details.