Added referrer_uri optional configuration for redirect/callback uris