From 6c123b6f790169b80ca90b5edf605b2494814cf3 Mon Sep 17 00:00:00 2001 From: JJ Style Date: Wed, 29 Jan 2025 12:07:46 +0000 Subject: [PATCH] docs: fix oauth-token code sample in README Attribute in code sample for using oauth token was using the attribute `oauth` instead of `oauth-token`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9580c1a..dd3d663 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ customElements.define( If you already have an OAuth token, you can pass it to the `drive-picker` component using the `oauth-token` attribute. This will authenticate the user without requiring them to sign in again. ```html - + ``` If you don't have an OAuth token, you can listen for the `"picker:authenticated"` event to get the token after the user has authenticated. This library wraps the [Google Identity Servies library](https://developers.google.com/identity/oauth2/web/guides/overview) to make it easier to authenticate users.