Google Sign-In Extension
Overview
The SignInWithGoogle extension for MIT App Inventor created by MrKoder provides a convenient way for developers to implement Google Sign-In functionality in their Android applications. This extension facilitates the process of obtaining a user’s consent, exchanging device codes for access tokens, and retrieving user profile information from Google APIs.
Example Preview
Blocks
Features
- Request device code from Google OAuth2 API.
- Exchange device code for access token in Google OAuth.
- Request user profile information from Google People API.
Installation
To use the SignInWithGoogle extension, follow these steps:
1.You can see this video to get your credentials (Client-ID, Client-Secret):
-
Download the AIA file (227.5 KB) If you want .
-
Or you can Select “Import Extension” and choose the SignInWithGoogle.aix (20.8 KB) file.
-
The extension will be added to your palette, and you can now use its blocks in your project.
Properties
ClientId
- Description: Set or get the client ID used for Google Sign-In.
- Type: String
ClientSecret
- Description: Set or get the client secret associated with the client ID.
- Type: String
RefreshToken
- Description: Set or get the refresh token required for token refreshing.
- Type: String
AccessToken
- Description: Set or get the access token obtained after successful sign-in.
- Type: String
Sign in process
files
SignInWithGoogle.aix (20.8 KB)
AIA file (227.5 #KB)
Donate
if you like my extension you can support me