Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Return id_token as credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
milk1000cc committed Jan 16, 2017
1 parent 99df357 commit 950eb0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/omniauth/strategies/mixi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ class Mixi < OmniAuth::Strategies::OAuth2
})
end

credentials do
{ "id_token" => access_token['id_token'] }
end

extra do
hash = {}
hash['raw_info'] = raw_info unless skip_info?
Expand Down

0 comments on commit 950eb0d

Please sign in to comment.