different api for using oauth creds