openstreetmap-website/app
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
..
abilities Allow moderator to unhide diary entries as well as hide them 2023-07-27 18:07:35 +01:00
assets Update to iD v2.27.0 2023-08-16 18:47:10 +02:00
controllers Use omniauth-microsoft_graph instead of omniauth-windowslive 2023-08-17 13:01:15 +00:00
helpers Fix predicate method names in the user model 2023-08-15 18:53:14 +01:00
jobs Prefer string interpolation to concatenation 2020-11-13 11:32:28 +00:00
mailers Use correct extension and type for avatar images attached to mails 2023-08-09 11:41:55 +01:00
models Fix predicate method names in the user model 2023-08-15 18:53:14 +01:00
validators Use .add method for adding errors 2021-03-17 17:09:34 +00:00
views Use omniauth-microsoft_graph instead of omniauth-windowslive 2023-08-17 13:01:15 +00:00