OpenID Connect: Disable form-action CSP on authorization page
Some browsers apply this CSP rules even to the redirect response after the POST requests, blocking the redirect_uri redirect
This commit is contained in:
parent
651a271450
commit
7fabd9d17f
1 changed files with 1 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ module Api
|
|||
@scopes = endpoint.scopes
|
||||
save_request_parameters
|
||||
@app = UserApplicationPresenter.new @o_auth_application, @scopes
|
||||
override_content_security_policy_directives(form_action: %w[])
|
||||
render :new
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue