Indicates if the api apiUrl IGoogleButton can refresh tokens on the user's behalf. The default value is online but if your backend api will refresh the token then you must pass in a string value of offline (This is recommended for react apps connected to a REST api backend).
This is your client ID
Defaulted to true. Any extra scopes the logged in user previously granted will be available within the new access token.
Not required, optional. For prefilling email fields
Not required, optional. A space-delimited, case-sensitive list of prompts to present the user. If you don't specify this parameter, the user will be prompted only the first time your project requests access. Valid values: consent - Prompt the user for consent. select_account - Prompt the user to select an account.
Where you React app should redirect to if user has successfully logged in
By default this is set to code
This option is currently unavailable but will be in a added in a future version, TODO - See https://github.com/joegasewicz/react-google-oauth2.0/issues/3
Generated using TypeDoc