Skip to content

Commit

Permalink
Disable OAuth 1.0a and basic authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jun 9, 2024
1 parent e2140cb commit d15475a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookbooks/web/recipes/cgimap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
user "rails"
group "www-data"
umask "0002"
exec_start "/usr/bin/openstreetmap-cgimap --daemon --instances 30"
exec_start "/usr/bin/openstreetmap-cgimap --daemon --instances 30 --basic_auth_support false --oauth_10_support falsE"
exec_reload "/bin/kill -HUP $MAINPID"
runtime_directory "cgimap"
private_tmp true
Expand Down
4 changes: 3 additions & 1 deletion cookbooks/web/resources/rails_port.rb
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,9 @@
"max_number_of_way_nodes" => node[:web][:max_number_of_way_nodes],
"max_number_of_relation_members" => node[:web][:max_number_of_relation_members],
"oauth_10_support" => false,
"oauth_10_registration" => false
"oauth_10_registration" => false,
"oauth_10a_support" => false,
"basic_auth_support" => false
)

if new_resource.memcache_servers
Expand Down

0 comments on commit d15475a

Please sign in to comment.