From 6e87843a0ef47377dd939563779583366943675c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 7 Aug 2025 22:19:56 +0100 Subject: [PATCH] Enable apple authentication --- cookbooks/web/recipes/rails.rb | 4 ++++ cookbooks/web/resources/rails_port.rb | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/cookbooks/web/recipes/rails.rb b/cookbooks/web/recipes/rails.rb index 16990d63c..fc9db249b 100644 --- a/cookbooks/web/recipes/rails.rb +++ b/cookbooks/web/recipes/rails.rb @@ -123,6 +123,10 @@ rails_port "www.openstreetmap.org" do google_auth_id "651529786092-6c5ahcu0tpp95emiec8uibg11asmk34t.apps.googleusercontent.com" google_auth_secret web_passwords["google_auth_secret"] google_openid_realm "https://www.openstreetmap.org" + apple_auth_id "org.openstreetmap.www" + apple_team_id "MF99FFFD4L" + apple_key_id "73A2H3M7J3" + apple_private_key web_passwords["apple_private_key"].join("\n") facebook_auth_id "427915424036881" facebook_auth_secret web_passwords["facebook_auth_secret"] microsoft_auth_id "e34f14f1-f790-40f3-9fa4-3c5f1a027c38" diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index a365219da..3050c44de 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -59,6 +59,10 @@ property :overpass_credentials, [true, false], :default => false property :google_auth_id, String property :google_auth_secret, String property :google_openid_realm, String +property :apple_auth_id, String +property :apple_team_id, String +property :apple_key_id, String +property :apple_private_key, String property :facebook_auth_id, String property :facebook_auth_secret, String property :microsoft_auth_id, String @@ -321,6 +325,10 @@ action :create do "google_auth_id", "google_auth_secret", "google_openid_realm", + "apple_auth_id", + "apple_team_id", + "apple_key_id", + "apple_private_key", "facebook_auth_id", "facebook_auth_secret", "microsoft_auth_id", -- 2.39.5