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 May 27, 2024
1 parent 15dbc13 commit 3204df8
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 3204df8

Please sign in to comment.