• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wheniwork / oauth2-square
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: hotfix/http-build-query-sort
DEFAULT BRANCH: master
Repo Added 06 Mar 2015 09:16PM UTC
Files 3
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH hotfix/http-build-query-sort
branch: hotfix/http-build-query-sort
CHANGE BRANCH
x
Reset
  • hotfix/http-build-query-sort
  • dev
  • feature/get-url-public
  • master
  • v1.2.1
  • v1.2.2
  • v1.2.3
  • v1.2.4
  • v1.3.0
  • v2.0.0-beta1

pending completion
49

push

travis-ci

elazar
Override AbstractProvider->httpBuildQuery() in Square provider

Square appears to perform a superfluous redirect during the OAuth
workflow that does two things: 1) sorts query string parameters; 2)
removes an approval_prompt parameter automatically added by
AbstractProvider->getAuthorizationUrl().

At best, this adds a needless request to the OAuth workflow, making it
take longer. It appears that it may also be causing the workflow to fail
in Square->prepareAccessTokenResult() within a local development environment.

3 of 3 new or added lines in 1 file covered. (100.0%)

64 of 64 relevant lines covered (100.0%)

1.98 hits per line

Relevant lines Covered
Build:
Build:
64 RELEVANT LINES 64 COVERED LINES
1.98 HITS PER LINE
Source Files on hotfix/http-build-query-sort
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
49 hotfix/http-build-query-sort Override AbstractProvider->httpBuildQuery() in Square provider Square appears to perform a superfluous redirect during the OAuth workflow that does two things: 1) sorts query string parameters; 2) removes an approval_prompt parameter automaticall... push 16 Jan 2018 05:10PM UTC elazar travis-ci pending completion  
See All Builds (29)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc