Skip to content

Commit 8d683dc

Browse files
Sets callback_path to environment variable
1 parent 2786de2 commit 8d683dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/omniauth/strategies/wix.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def authorize_params
3838
end
3939

4040
def callback_url
41-
full_host + script_name + callback_path
41+
full_host + script_name + ENV["WIX_CALLBACK_PATH"]
4242
end
4343

4444
def build_access_token

0 commit comments

Comments
 (0)