Setting allowed origin in the default configuration.