From 929bd47fc4921bbbabcc2712557e1dd24b053b79 Mon Sep 17 00:00:00 2001 From: Brandon Rothweiler <2292715+bdr99@users.noreply.github.com> Date: Mon, 27 Nov 2023 16:49:23 -0500 Subject: [PATCH] chore: Fix typo in readme (#128) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 093d41f6..33df0ca6 100644 --- a/README.md +++ b/README.md @@ -51,10 +51,10 @@ client = smartcar.AuthClient() scopes = ['read_vehicle_info', 'read_odometer', ...] # Generate auth url for User OAuth flow -auth_url = client.get_auth_url(scope) +auth_url = client.get_auth_url(scopes) ``` -- The user will login, and then accept or deny the permissions in your `scope` +- The user will login, and then accept or deny the permissions in your `scopes` - If the user is already connected to your application, they will not be shown the accept or deny dialog. However the application can force this dialog to be shown with `client.get_auth_url(options={"force_prompt"=True})`