Skip to content

Commit

Permalink
Update documentation for getProviders
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfury committed Sep 24, 2020
1 parent 4e4d1ea commit d5e7032
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/docs/getting-started/client.md
Expand Up @@ -139,11 +139,11 @@ It can be use useful if you are creating a dynamic custom sign in page.
#### API Route

```jsx title="pages/api/example.js"
import { getSession } from 'next-auth/client'
import { getProviders } from 'next-auth/client'

export default async (req, res) => {
const session = await getSession({ req })
console.log('Session', session)
const providers = await getProviders({ req })
console.log('Providers', providers)
res.end()
}
```
Expand Down

1 comment on commit d5e7032

@vercel
Copy link

@vercel vercel bot commented on d5e7032 Sep 24, 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.