You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Redirects the user to the 3rd-party OAuth provider to start the OAuth1.0 or OAuth2.0 authentication process.
// parameters:
// + name: redirect_to
// in: query
// description: The redirect url to return the user to after the `/callback` endpoint has completed.
// required: false
// responses:
// 302: authorizeResponse
// Redirects user to the 3rd-party OAuth provider
// swagger:response authorizeResponse
typeauthorizeResponseWrapperstruct{}
// swagger:route GET /callback oauth callback
// Receives the redirect from an external provider during the OAuth authentication process. Starts the process of creating an access and refresh token.
// responses:
// 302: callbackResponse
// Redirects user to the redirect url specified in `/authorize`. If no `redirect_url` is provided, the user will be redirected to the `SITE_URL`.