Update dependency doorkeeper to v5.8.0 (#33000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
e4d5cc0ca6
commit
4517e18b79
7 changed files with 8 additions and 17 deletions
|
@ -27,7 +27,7 @@ RSpec.describe 'The /.well-known/oauth-authorization-server request' do
|
|||
response_modes_supported: Doorkeeper.configuration.authorization_response_flows.flat_map(&:response_mode_matches).uniq,
|
||||
token_endpoint_auth_methods_supported: %w(client_secret_basic client_secret_post),
|
||||
grant_types_supported: grant_types_supported,
|
||||
code_challenge_methods_supported: ['S256'],
|
||||
code_challenge_methods_supported: Doorkeeper.configuration.pkce_code_challenge_methods_supported,
|
||||
# non-standard extension:
|
||||
app_registration_endpoint: api_v1_apps_url
|
||||
)
|
||||
|
|
|
@ -115,6 +115,8 @@ RSpec.describe 'Using OAuth from an external app' do
|
|||
subject
|
||||
|
||||
within '.form-container .flash-message' do
|
||||
# FIXME: Replace with doorkeeper.errors.messages.invalid_code_challenge_method.one for Doorkeeper > 5.8.0
|
||||
# see: https://github.com/doorkeeper-gem/doorkeeper/pull/1747
|
||||
expect(page).to have_content(I18n.t('doorkeeper.errors.messages.invalid_code_challenge_method'))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue