Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #200 from Shopify/Paulinakhew-patch-docs
Browse files Browse the repository at this point in the history
Change broken endpoint
  • Loading branch information
Paulinakhew committed Jun 16, 2021
2 parents 345d6ed + dee9911 commit 35d8a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage/oauth.md
Expand Up @@ -104,7 +104,7 @@ app.get('/auth/callback', async (req, res) => {
```
</details>

After process is completed, you can navigate to `{your ngrok address}/oauth/begin` in your browser to begin OAuth. When it completes, you will have a Shopify session that enables you to make requests to the Admin API, as detailed next.
After process is completed, you can navigate to `{your ngrok address}/login` in your browser to begin OAuth. When it completes, you will have a Shopify session that enables you to make requests to the Admin API, as detailed next.

You can use the `Shopify.Utils.loadCurrentSession()` method to load an online session automatically based on the current request. It will use cookies to load online sessions for non-embedded apps, and the `Authorization` header for token-based sessions in embedded apps, making all apps safe to use in modern browsers that block 3rd party cookies.

Expand Down

0 comments on commit 35d8a7d

Please sign in to comment.