Skip to main content
Version: v3

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,
})
]
...