Added redirect_uri support in configuration