From 1f6b283498919e7a33f11251b3c452071ad60d9b Mon Sep 17 00:00:00 2001 From: Zoey Lan Date: Tue, 12 Sep 2023 15:54:16 -0600 Subject: [PATCH] Fix typos --- docs/usage/oauth.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage/oauth.md b/docs/usage/oauth.md index 016f7c6f..a5369620 100644 --- a/docs/usage/oauth.md +++ b/docs/usage/oauth.md @@ -6,7 +6,7 @@ To do this, you can follow the steps below. For more information on authenticating a Shopify app please see the [Types of Authentication](https://shopify.dev/docs/apps/auth#types-of-authentication) page. ## Session Persistence -Session persistence is depreciated from the `ShopifyAPI` library gem since [version 12.3.0](https://github.com/Shopify/shopify-api-ruby/blob/main/CHANGELOG.md#version-1230). The responsibility of session storage typically is fulfilled by the web framework middleware. +Session persistence is deprecated from the `ShopifyAPI` library gem since [version 12.3.0](https://github.com/Shopify/shopify-api-ruby/blob/main/CHANGELOG.md#version-1230). The responsibility of session storage typically is fulfilled by the web framework middleware. This API library's focus is on making requests and facilitate session creation. ⚠️ If you're not using the [ShopifyApp](https://github.com/Shopify/shopify_app) gem, you may use ShopifyAPI to perform OAuth to create sessions, but you must implement your own session storage method to persist the session information to be used in authenticated API calls. @@ -15,7 +15,7 @@ This API library's focus is on making requests and facilitate session creation. If using in the Rails framework, we highly recommend you use the [shopify_app](https://github.com/Shopify/shopify_app) gem to perform OAuth, you won't have to follow the instructions below to start your own OAuth flow. - See `ShopifyApp`'s [documentation on session storage](https://github.com/Shopify/shopify_app/blob/main/docs/shopify_app/sessions.md#sessions) -If you aren't using Rails, you can look at how the `ShopifyApp` gem handles Oauth flow for further examples: +If you aren't using Rails, you can look at how the `ShopifyApp` gem handles OAuth flow for further examples: - [Session Controller](https://github.com/Shopify/shopify_app/blob/main/app/controllers/shopify_app/sessions_controller.rb) - Triggering and redirecting user to **begin** OAuth flow - [Callback Controller](https://github.com/Shopify/shopify_app/blob/main/app/controllers/shopify_app/callback_controller.rb)