lib/rodauth/features/oauth_implicit_grant.rb in rodauth-oauth-1.1.0 vs lib/rodauth/features/oauth_implicit_grant.rb in rodauth-oauth-1.2.0
- old
+ new
@@ -40,10 +40,10 @@
def _do_authorize_token(grant_params = {})
grant_params = {
oauth_grants_type_column => "implicit",
oauth_grants_oauth_application_id_column => oauth_application[oauth_applications_id_column],
oauth_grants_scopes_column => scopes,
- oauth_grants_account_id_column => account_id
+ **resource_owner_params
}.merge(grant_params)
generate_token(grant_params, false)
end