use config loader in oauth client