mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-08-01 14:11:47 +00:00
Added missing features
This commit is contained in:
parent
37108dbf56
commit
fb2759a5b5
21 changed files with 1747 additions and 1 deletions
10
config/packages/rate_limiter.yaml
Normal file
10
config/packages/rate_limiter.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
framework:
|
||||
rate_limiter:
|
||||
# Guards the open RFC 7591 Dynamic Client Registration endpoint (App\Controller\OAuth\ClientRegistrationController)
|
||||
# against abuse (mass client creation) - registration itself requires no authentication by design
|
||||
# (any client may self-register; the real gate is the per-user consent screen at /authorize), so
|
||||
# this is the only throttle standing between it and the internet.
|
||||
oauth_client_registration:
|
||||
policy: 'sliding_window'
|
||||
limit: 20
|
||||
interval: '1 hour'
|
||||
Loading…
Add table
Add a link
Reference in a new issue