mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
* update strava * add localhost fallback * lint & small updates * Update docs/versioned_docs/version-v3/providers/strava.md Co-authored-by: Lluis Agusti <hi@llu.lu> * fix * Delete yarn.lock * Apply suggestions from code review Co-authored-by: Lluis Agusti <hi@llu.lu> Co-authored-by: Balázs Orbán <info@balazsorban.com>
621 B
621 B
id, title
| id | title |
|---|---|
| strava | Strava |
Documentation
http://developers.strava.com/docs/reference/
Options
The Strava Provider comes with a set of default options:
You can override any of the options to suit your own use case. Ensure the redirect_uri configuration fits your needs accordingly.
Example
import Providers from 'next-auth/providers'
...
providers: [
Providers.Strava({
clientId: process.env.STRAVA_CLIENT_ID,
clientSecret: process.env.STRAVA_CLIENT_SECRET,
})
]
...