TykTechnologies / tyk

Tyk Open Source API Gateway written in Go, supporting REST, GraphQL, TCP and gRPC protocols
Other
9.69k stars 1.09k forks source link

[TT-367] - Tyk Gateway - OAuth Request Rate Limit and Analytics #2635

Open scorpio23 opened 5 years ago

scorpio23 commented 5 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Yes is a problem for manage OAuth2 API. Currently there is no way to rate limit and show analytics for oauth request to generate token (/oauth/token). This make gateway management team difficult to handle and monitor for any heavy load from some client who miss-used this. You can imagine if some client have bug and call gateway with OAuth request (generate token) in Production which we can’t rate limit and we can’t see in Analytics. This can be serious issue in long run with the server load, Redis, Mongo database as there are many junk Token created.

Describe the solution you'd like A clear and concise description of what you want to happen. Rate Limit/Throttling configuration and Analytics for OAuth request (generate token)

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here. Log Oauth request very limited for level INFO and difficult to know how many request happen for each ouath client.

image

christtyk commented 4 years ago

Would like to keep open - client request

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, please add comments to this ticket if you would like it to stay open. Thank you for your contributions.

christtyk commented 4 years ago

bump

MichaelTyk commented 2 years ago

bumping this up

andyo-tyk commented 1 year ago

This is being actively tracked elsewhere and progressed in our roadmap, I will update this ticket as and when we implement something.