feat: harden the myep oauth2 client
This commit is contained in:
@@ -5,6 +5,11 @@ framework:
|
||||
http_method_override: false
|
||||
handle_all_throwables: true
|
||||
|
||||
# The OAuth2 redirect_uri handed to MyE&P is generated from the incoming request, so an
|
||||
# unvalidated Host header would let a crafted request point the authorization code
|
||||
# somewhere else. Regex patterns, matched against the host without the scheme or port.
|
||||
trusted_hosts: ['%env(APP_TRUSTED_HOSTS)%']
|
||||
|
||||
# Enables session support. Note that the session will ONLY be started if you read or write from it.
|
||||
# Remove or comment this section to explicitly disable session support.
|
||||
session:
|
||||
|
||||
Reference in New Issue
Block a user