ExpressGateway / express-gateway

A microservices API Gateway built on top of Express.js
https://www.express-gateway.io
Apache License 2.0
2.97k stars 344 forks source link

Edited ouath2-introspect using DB. #959

Closed fcioffi closed 4 years ago

fcioffi commented 4 years ago

Following #953 I suggest a enhancement using DB for oauth2-introspect policy. In the code it is managed the TTL based on OAuth2-Introspection, also.

codecov[bot] commented 4 years ago

Codecov Report

Merging #959 into master will decrease coverage by 0.01%. The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #959      +/-   ##
==========================================
- Coverage   88.98%   88.97%   -0.02%     
==========================================
  Files         137      137              
  Lines        3741     3746       +5     
==========================================
+ Hits         3329     3333       +4     
- Misses        412      413       +1
Impacted Files Coverage Δ
...ib/policies/oauth2-introspect/oauth2-introspect.js 96.55% <91.66%> (-3.45%) :arrow_down:

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 4561281...2c9a934. Read the comment docs.