Skip to content

Commit a9623a1

Browse files
authored
Fix issue with redirect_uri not identical between code and token phases (#7)
See: omniauth/omniauth-oauth2#93 omniauth/omniauth-oauth2#93 (comment) oauth-xx/oauth2#269
1 parent d54d6b2 commit a9623a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/omniauth/strategies/applicaster.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ def raw_info
2626
def client
2727
::Applicaster::Accounts.oauth_client
2828
end
29+
30+
def callback_url
31+
full_host + script_name + callback_path
32+
end
2933
end
3034
end
3135
end

0 commit comments

Comments
 (0)