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

Commit

Permalink
Merge pull request #2 from konk303/redifine_callback_url
Browse files Browse the repository at this point in the history
Redifine callback_url to remove query strings
  • Loading branch information
kubo39 committed Feb 5, 2016
2 parents 4fc9be7 + d47be6d commit 10ed830
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 @@ -49,6 +49,10 @@ def raw_info
access_token.get('/2/people/@me/@self?fields=@all').parsed['entry']
end

def callback_url
full_host + script_name + callback_path
end

def authorize_params
super.tap do |params|
%w[display state scope].each do |v|
Expand Down

0 comments on commit 10ed830

Please sign in to comment.