Add redirectURL to onResourceReceived