Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account * Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true` * Rename methods to avoid confusion between OAuth and OmniAuth
Showing
- app/controllers/auth/omniauth_callbacks_controller.rb 1 addition, 1 deletionapp/controllers/auth/omniauth_callbacks_controller.rb
- app/models/concerns/omniauthable.rb 38 additions, 14 deletionsapp/models/concerns/omniauthable.rb
- app/models/identity.rb 1 addition, 1 deletionapp/models/identity.rb
- spec/models/identity_spec.rb 3 additions, 3 deletionsspec/models/identity_spec.rb
- spec/requests/omniauth_callbacks_spec.rb 1 addition, 1 deletionspec/requests/omniauth_callbacks_spec.rb
Please register or sign in to comment