signInOAuth()
Last updated
Last updated
Copyright © 2023 Deskree Technologies Inc.
Field | Data Type | Description |
---|---|---|
providerId
string
google.com
, facebook.com
, or github.com
sessionId
string
The ID of the OAUTH session returned from createUrlForOAuthSignIn()
callBackUri
string
URL to redirect users after a successful OAUTH sign-in.
token
string
Used only for Google and Facebook sign-in.
If the token is provided, code
parameter is ignored.
The parameter will be returned in the callBackUri
of createUrlForOAuthSignIn() after a successful OAUTH sign-in.
code
string
The parameter will be returned in the callBackUri
of createUrlForOAuthSignIn() after a successful OAUTH sign-in.
providerId
string
google.com
, facebook.com
, or github.com
localId
string
User email
string
User password
emailVerified
boolean
Whether the user has verified their email by following the link sent to their email.
rawUserInfo
string
The stringified JSON response containing all the IdP data corresponding to the provided OAuth credential.
idToken
string
firstName
string
User first name if present in OAUTH provider
lastName
string
User last name if present in OAUTH provider
fullName
string
User full name if present in OAUTH provider
displayName
string
User display name if present in OAUTH provider
photoUrl
string
User photo if present in OAUTH provider
refreshToken
string
Token that can be used to refresh idToken via refreshToken() method
expiresIn
string
How long the token is valid for (in seconds).
needConfirmation
boolean
Whether another account with the same credential already exists. The user will need to sign in to the original account and then link the current credential to it.
User authorization token that should be used for requests that require authorization. View for more information.