diff options
Diffstat (limited to 'features/step_definitions/implicit_flow_steps.rb')
-rw-r--r-- | features/step_definitions/implicit_flow_steps.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/features/step_definitions/implicit_flow_steps.rb b/features/step_definitions/implicit_flow_steps.rb index 316ecfa74..82f5cd05c 100644 --- a/features/step_definitions/implicit_flow_steps.rb +++ b/features/step_definitions/implicit_flow_steps.rb @@ -54,7 +54,6 @@ Then /^I should not see any tokens in the redirect url$/ do end When /^I parse the bearer tokens and use it to access user info$/ do - current_url = page.driver.network_traffic.last.url # We get a redirect to example.org that we can't follow access_token = current_url[/(?<=access_token=)[^&]+/] expect(access_token).to be_present get api_openid_connect_user_info_path, access_token: access_token |