-
- Downloads
Gitlab Shell: Authenticate via JWT token
Before: - Gitlab Shell sent a shared secret_token for Rails to verify Now: - Gitlab Shell sends a shared secret_token - Gitlab Shell sends JWT singed by the shared secret_token - Gitlab Rails verifies either JWT or secret token (based on FF) Then: - FF is removed - Only JWT is verified Changelog: added
Showing
- config/feature_flags/development/gitlab_shell_jwt_token.yml 8 additions, 0 deletionsconfig/feature_flags/development/gitlab_shell_jwt_token.yml
- ee/spec/requests/api/geo_spec.rb 19 additions, 18 deletionsee/spec/requests/api/geo_spec.rb
- ee/spec/requests/api/internal/base_spec.rb 18 additions, 19 deletionsee/spec/requests/api/internal/base_spec.rb
- lib/api/helpers.rb 16 additions, 4 deletionslib/api/helpers.rb
- spec/requests/api/internal/base_spec.rb 90 additions, 77 deletionsspec/requests/api/internal/base_spec.rb
- spec/requests/api/internal/lfs_spec.rb 14 additions, 12 deletionsspec/requests/api/internal/lfs_spec.rb
- spec/services/post_receive_service_spec.rb 1 addition, 2 deletionsspec/services/post_receive_service_spec.rb
- spec/support/helpers/api_internal_base_helpers.rb 10 additions, 6 deletionsspec/support/helpers/api_internal_base_helpers.rb
- spec/support/helpers/gitlab_shell_helpers.rb 13 additions, 0 deletionsspec/support/helpers/gitlab_shell_helpers.rb
- spec/support/shared_examples/requests/rack_attack_shared_examples.rb 1 addition, 1 deletion...t/shared_examples/requests/rack_attack_shared_examples.rb
spec/support/helpers/gitlab_shell_helpers.rb
0 → 100644
Please register or sign in to comment