]> git.openstreetmap.org Git - rails.git/commit
Fix CSP failures for Microsoft social sign-in
authorMilan Cvetkovic <mcvetkovic@microsoft.com>
Fri, 10 May 2024 14:11:12 +0000 (14:11 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 10 May 2024 16:40:14 +0000 (17:40 +0100)
commitb07c75834570bc8a4189b95dd320b5b95ae97d41
tree8497c96489a3a1444fbebebe24b753aa07739d89
parentef00f9a4674d2a0719635333cef8ac6bdc21d940
Fix CSP failures for Microsoft social sign-in

Replace login.live.com with login.microsoftonline.com in CSP allow list.

The URL changed with the move from using the omniauth-windowslive plugin
to the omniauth-microsoft_graph plugin but wasn't noticed until now.
app/controllers/accounts_controller.rb
app/controllers/users_controller.rb