openstreetmap-website/lib
Milan Cvetkovic 7428da74c2 Use omniauth-microsoft_graph instead of omniauth-windowslive
Omniauth-microsoft_graph correctly populates 'email' and 'name' fields used by OpenStreetMap.
It also  uses updated endpoints for Microsoft identity provider.

Use email address returned by microsoft_graph provider as a verified address.

Upgrading exisiting users from windowslive to microsoft_graph:
 - upon next login existing `windowslive` users will have to authorizei
   OpenStreetMap application to "Read Your Profile," required for proper reading
   of display name field.

The name of the identity provider in OSM is kept to 'windowslive':
 - the entries in users table with `provider == 'windowslive'`
   can be reused for microsoft_graph provider, since
   the uid field is preserved. Users will not need to repeat the sign up process.
 - OAuth2 callback is still `/auth/windowslive`, no updates to Microsoft Identity Provider portal
   App registration are necessary.
2023-08-17 13:01:15 +00:00
..
bootstrap_form/inputs Refactor richtext fields to use a custom bootstrap_form input. 2021-01-13 14:05:39 +00:00
classic_pagination Fix some rubocop Naming/PredicateName warnings 2022-03-03 22:47:55 +00:00
osm_community_index Validate URLs against supply-chain attacks 2022-11-02 18:21:00 +00:00
tasks Remove support for legacy trace files 2022-03-03 19:47:40 +00:00
auth.rb Use omniauth-microsoft_graph instead of omniauth-windowslive 2023-08-17 13:01:15 +00:00
bounding_box.rb Fix new rubocop warnings 2023-01-24 18:23:49 +00:00
country.rb Fix new rubocop warnings 2022-09-09 22:45:58 +01:00
diff_reader.rb Fix some Naming/AccessorMethodName rubocop warnings 2022-03-08 19:10:05 +00:00
editors.rb Remove both Potlatch versions 2021-01-05 21:18:45 +00:00
gpx.rb Fix rubocop Rails/TimeZone warnings 2022-03-01 22:55:10 +00:00
id.rb Fix locale matching for iD 2021-07-27 17:38:17 +01:00
locale.rb Fix some new rubocop warnings 2020-08-06 22:27:30 +01:00
nominatim.rb get_text("reversegeocode/result") returns an XML node. We want to get the text value of that node. 2022-10-23 16:04:01 -04:00
oauth.rb Add a privileged scope that allows authorization to be skipped 2021-08-26 17:22:25 +01:00
osm.rb Set a timeout on HTTP requests made by the server 2022-05-29 10:55:06 +01:00
osm_community_index.rb Fix new rubocop warnings 2023-06-27 18:13:33 +01:00
password_hash.rb Switch to Argon2 for password hashing 2021-11-03 20:39:31 +00:00
rich_text.rb Rubocop autofix: ambiguous operator precedence 2022-04-06 14:55:29 +01:00
session_persistence.rb Fix Lint/MissingSuper warnings 2020-08-09 19:06:04 +01:00
short_link.rb Rubocop autofix: ambiguous operator precedence 2022-04-06 14:55:29 +01:00
utf8.rb Fix new rubocop warnings 2018-09-22 17:12:29 +01:00