mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
35 lines
615 B
Markdown
35 lines
615 B
Markdown
---
|
|
id: dropbox
|
|
title: Dropbox
|
|
---
|
|
|
|
## Documentation
|
|
|
|
https://developers.dropbox.com/oauth-guide
|
|
|
|
## Configuration
|
|
|
|
https://www.dropbox.com/developers/apps
|
|
|
|
## Options
|
|
|
|
The **Dropbox Provider** comes with a set of default options:
|
|
|
|
- [Dropbox Provider options](https://github.com/nextauthjs/next-auth/blob/main/src/providers/dropbox.js)
|
|
|
|
You can override any of the options to suit your own use case.
|
|
|
|
## Example
|
|
|
|
```js
|
|
import Providers from `next-auth/providers`
|
|
...
|
|
providers: [
|
|
Providers.Dropbox({
|
|
clientId: process.env.DROPBOX_CLIENT_ID,
|
|
clientSecret: process.env.DROPBOX_CLIENT_SECRET
|
|
})
|
|
]
|
|
...
|
|
```
|