Begin a Google or Microsoft sign-in
Path Parameters
provider*string
The identity provider to sign in with.
Value in
"google" | "microsoft"Query Parameters
return_uri*string
Where to send the user after the provider returns. Must belong to a registered origin.
Format
uricode_challenge*string
The PKCE challenge, the base64url SHA-256 of the verifier the app keeps.
code_challenge_method*string
Always 'S256'.
Value in
"S256"state*string
An opaque value returned unchanged to the app, used to prevent CSRF attacks.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.verdocs.com/v2/oauth2/social/PROVIDER/start?param=value" \ -H "Authorization: Bearer ACCESS_TOKEN" \ -H "content-type: application/json" \ -d '{"param": "value"}'{}{
"status": "ERROR",
"error": "string"
}{
"status": "ERROR",
"error": "string"
}{
"status": "ERROR",
"error": "string"
}{
"status": "ERROR",
"error": "string"
}