motiv-labs / janus

An API Gateway written in Go
https://hellofresh.gitbooks.io/janus
MIT License
2.79k stars 317 forks source link

Fixed oauth rate limit #280

Closed italolelis closed 6 years ago

italolelis commented 6 years ago

What does this PR do?

Fixes the error where the rate limit was always enabled for the oauth-servers reported on #276

codecov[bot] commented 6 years ago

Codecov Report

Merging #280 into master will decrease coverage by 0.03%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #280      +/-   ##
==========================================
- Coverage   45.31%   45.28%   -0.04%     
==========================================
  Files          67       67              
  Lines        2498     2500       +2     
==========================================
  Hits         1132     1132              
- Misses       1310     1312       +2     
  Partials       56       56
Impacted Files Coverage Δ
pkg/plugin/oauth2/loader.go 0% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fd28d1d...4726d4c. Read the comment docs.