Prefixes OAuth Application Secrets with gloat
GitLab applies a prefix to some of its generated secrets. For example, a Personal Access Token begins with glpat-. This MR adds a prefix to OAuth Application Secrets. This is distinct from OAuth _Access Tokens_. Learn more about OAuth Applications at https://docs.gitlab.com/ee/integration/oauth_provider.html Resolves https://gitlab.com/gitlab-org/gitlab/-/issues/376747
显示
- app/assets/javascripts/lib/utils/secret_detection.js 4 个添加, 0 个删除app/assets/javascripts/lib/utils/secret_detection.js
- config/initializers/doorkeeper.rb 4 个添加, 0 个删除config/initializers/doorkeeper.rb
- lib/gitlab/doorkeeper_secret_storing/token/unique_application_token.rb 18 个添加, 0 个删除...orkeeper_secret_storing/token/unique_application_token.rb
- spec/controllers/oauth/applications_controller_spec.rb 12 个添加, 3 个删除spec/controllers/oauth/applications_controller_spec.rb
- spec/frontend/lib/utils/secret_detection_spec.js 1 个添加, 0 个删除spec/frontend/lib/utils/secret_detection_spec.js
- spec/models/doorkeeper/application_spec.rb 11 个添加, 0 个删除spec/models/doorkeeper/application_spec.rb
- spec/models/oauth_access_token_spec.rb 5 个添加, 1 个删除spec/models/oauth_access_token_spec.rb
spec/models/doorkeeper/application_spec.rb
0 → 100644
想要评论请 注册 或 登录