Skip to content

Commit

Permalink
Typo: retuning should be returning
Browse files Browse the repository at this point in the history
It ain't much but its honest work
  • Loading branch information
jesus-castro3 authored and iaincollins committed Oct 8, 2020
1 parent 01c897f commit 9c6ef95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/docs/getting-started/rest-api.md
Expand Up @@ -17,7 +17,7 @@ The POST submission requires CSRF token from `/api/auth/csrf`.

#### GET /api/auth/callback/:provider

Handles retuning requests from OAuth services during sign in.
Handles returning requests from OAuth services during sign in.

For OAuth 2.0 providers that support the `state` option, the value of the `state` parameter is checked against the one that was generated when the sign in flow was started - this uses a hash of the CSRF token which MUST match for both the POST and GET calls during sign in.

Expand Down Expand Up @@ -59,4 +59,4 @@ e.g.
`NEXTAUTH_URL=https://example.com/myapp/api/authentication`

`/api/auth/signin` -> `/myapp/api/authentication/signin`
:::
:::

1 comment on commit 9c6ef95

@vercel
Copy link

@vercel vercel bot commented on 9c6ef95 Oct 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.