The code that Strava or other providers may attach to
their callback request. This should be forwarded from the
frontend to the backend as to verify the authenticity
of the callback request.
Note that this field is optional, and when it is provided,
it will be forwarded to a subsequent request to the provider
which requests a pair of accessToken/refreshToken for the user.
The remote user identifier as attached by Strava in their
callback request. i.e. with the Strava OAuth Provider, this
field represents the athlete identifier.
Note that this field is required and that it is forwarded to
a subsequent request to the provider which requests a pair
of accessToken/refreshToken for the user.
The authorized scope as attached by OAuth Providers with
regards to successful authorizations. e.g. with our Strava
integration, the scope used is "activity:read_all".
Note that this field is required and that it is forwarded to
a subsequent request to the provider which requests a pair
of accessToken/refreshToken for the user.
The state that Strava or other providers may attach to
their callback request. This should be forwarded from the
frontend to the backend as to verify the authenticity
of the callback request.
Note that this field is optional, and when it is provided,
it will be forwarded to a subsequent request to the provider
which requests a pair of accessToken/refreshToken for the user.
Generated using TypeDoc
This class defines the requirements for HTTP requests that must include a
challenge
in the body.We enforce the presence of fields in this request class using nestjs'
Body
guard that will automatically fail when the challenge is not present or invalid.v0.3.0