]> git.openstreetmap.org Git - rails.git/commit
Add preferred provider social signup
authorMilan Cvetkovic <mcvetkovic@microsoft.com>
Wed, 6 Dec 2023 10:31:52 +0000 (10:31 +0000)
committerMilan Cvetkovic <mcvetkovic@microsoft.com>
Mon, 29 Apr 2024 11:32:54 +0000 (11:32 +0000)
commit9649b192c03f7a333f3a02697a64910cd6669dab
treebeef024fbb6f82ae044ab8d4e8013485c9de0b49
parentd0e8f723117cc311389524fd3e3e73a4b0fe5626
Add preferred provider social signup

- Add preferred provider for authorization to login and signup pages.
  To use, the 3rd party application would have to add `preferred_provider=...`
  parameter to OAuth2 authorization request.
- Resize 3rd party provider icons
- Add "login to authorize" heading to login and signup screens
app/assets/javascripts/auth_providers.js
app/controllers/concerns/session_methods.rb
app/controllers/sessions_controller.rb
app/controllers/users_controller.rb
app/helpers/user_helper.rb
app/views/application/_auth_providers.html.erb
app/views/sessions/new.html.erb
app/views/users/new.html.erb
config/locales/en.yml
test/helpers/user_helper_test.rb
test/system/user_signup_test.rb