lib/rodauth/features/oauth_token_revocation.rb in rodauth-oauth-1.3.2 vs lib/rodauth/features/oauth_token_revocation.rb in rodauth-oauth-1.4.0
- old
+ new
@@ -48,10 +48,10 @@
set_notice_flash revoke_oauth_grant_notice_flash
redirect request.referer || "/"
end
end
- redirect_response_error("invalid_request", request.referer || "/")
+ redirect_response_error("invalid_request")
end
end
def validate_revoke_params(token_hint_types = %w[access_token refresh_token].freeze)
token_hint = param_or_nil("token_type_hint")