Skip to content

Commit 5216aca

Browse files
authored
Merge pull request #3 from gdong42/master
Add redirect_uri to access_token params
2 parents 3162fdf + 07d4adb commit 5216aca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/auth/oauth_gems.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,5 +226,10 @@ def authorize_params
226226
end
227227
end
228228
end
229+
230+
def callback_url
231+
options[:redirect_uri] || (full_host + script_name + callback_path)
232+
end
233+
229234
end
230235

0 commit comments

Comments
 (0)