The CSP3 draft only allows a * rule match network schemes and
mobile devices often use callbacks to custom URL schemes.
protected
def oauth1_authorize
protected
def oauth1_authorize
- append_content_security_policy_directives(:form_action => %w[*])
+ override_content_security_policy_directives(:form_action => false)
if @token.invalidated?
@message = t "oauth.authorize_failure.invalid"
if @token.invalidated?
@message = t "oauth.authorize_failure.invalid"