Sha256: ef9063e3e8c53027e998d7b4983f02d83095a14d7911e8a3253253a545a447d6
Contents?: true
Size: 507 Bytes
Versions: 6
Compression:
Stored size: 507 Bytes
Contents
require 'spec_helper_integration' feature 'Implicit Grant Flow' do background do config_is_set(:authenticate_resource_owner) { User.first || redirect_to('/sign_in') } client_exists create_resource_owner sign_in end scenario 'resource owner authorizes the client' do visit authorization_endpoint_url(client: @client, response_type: 'token') click_on 'Authorize' access_token_should_exist_for @client, @resource_owner i_should_be_on_client_callback @client end end
Version data entries
6 entries across 6 versions & 1 rubygems