Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 621 Bytes

File metadata and controls

30 lines (22 loc) · 621 Bytes
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,
  })
]
...