Skip to content

Software Development at Program Tom LTD

Place for coding, programming, development and software in general.

Menu
  • Blog
  • PDF Booklets
  • Dev Utils & Content
  • Java Spring Boot Or Web Apps
  • English
    • български
    • English
    • Español
    • Português
    • हिन्दी
    • Русский
    • Deutsch
    • Français
    • Italiano
    • العربية
  • About Us
  • Flutter Apps
Menu

Google Login [to Program Tom Apps] Micro Service

New Login with Google 2024

$4.99

Categories: Java, Spring (Boot) / Quarkus
  • Description

Description

If you integrate Google Login to your app – according to statistics https://www.google.com/search?q=google+users+number&oq=google+users+number – you will allow easy onboarding of more than half of the Internet Users. This is why I offer a Micro Service that does it – [for Apps developed by me under Program Tom Ltd].

Google Login Integration

There are multiple ways to integrate with Google APIs. This Micro Service uses a google.client.id. from the Cloud Console -> APIs & Services -> Credentials.

  • The Security of the key is – white list of Server IPs from where it could be used.
  • Client ID from Web Application – with White list of Domain Prefixes – where the app is located/served from.

Presentation

The login is implemented with included Google Script: <script src=”https://accounts.google.com/gsi/client” async defer></script> and a button with two actions:

  • presentation that happens on open page:

<div id=”g_id_onload”
data-client_id=”your client id.apps.googleusercontent.com”
data-context=”use”
data-ux_mode=”popup”
data-callback=”onSignIn” data-auto_select=”true”
data-use_fedcm_for_prompt=”true”
data-itp_support=”true”>
</div>

blank

  • and a login button, if the user closes or cancels the dialog.

<div class=”g_id_signin”
data-type=”standard”
data-shape=”rectangular”
data-theme=”outline”
data-text=”continue_with”
data-size=”large”
data-callback=”onSignIn”
data-locale=”en-US”
data-logo_alignment=”left”
data-use_fedcm_for_prompt=”true”>
</div>

blank

Google API Check & Response

This Micro Service recieves a JWT Token after successful user – Google Login and the backend checks it againts Google Servers. If the Token is Valid – the result will be a Valid Internal JWT pair. I’ve developed separate Micro Service for generating in app JWT Token Pair – Refresh and Access Tokens: https://programtom.com/dev/product/jwt-token-app-micro-service/.

Empty Page

This Micro Service has a hard-coded list of sub-domains or apps – that will have Google Login Integration. All attemps to use login from other domains/subdomains – will result in an empty page from this Module.

Related products

  • Vaadin Web App Wrapper for rx_bloc_cli projects bootstrapping

    Vaadin Web App Wrapper for rx_bloc_cli projects bootstrapping

    $0.99
    Add to cart
  • File Waiter

    File Waiter – Serve or Upload Files Between a Computer & Other Devices

    $0.99
    Add to cart
  • Mission Accomplished - Spring Boot - Vaadin Web App

    Mission Accomplished – Spring Boot – Vaadin Web App

    $14.99
    Add to cart
  • PoC - Translations Manager - Application

    PoC – Translations Manager – Application

    $19.99
    Add to cart
  • Example of GridView Builder in Flutter
  • How to Visualize Listview inside Listview in Flutter
  • What other usages you know about public private cryptography
  • Get a Flutter App to Production
  • Firebase Dynamic Links Deprecation – migrating out to Java

Categories

  • Apps (20)
  • ChatGPT (19)
  • Choosing a Framework (38)
  • Flutter (201)
  • Graphical User Interface (13)
  • Marketing (113)
  • Software Development (268)
  • Spring (41)
  • StartUp (21)
  • Uncategorized (15)
  • Uncategorized (4)
  • Vaadin (14)

Tags

Algorithms (9) crypto (29) flutterdev (39) General (86) Java (7) QR & Bar Codes (3) Software Dev Choices (33) Spring Boot (1) standards (1) Theme (3) User Authentication & Authorization (9) User Experience (10) Utilities (19) WordPress (11)

Product categories

  • All Technologies (83)
    • Flutter Apps (23)
    • GPT (4)
    • Java (38)
    • Native Android (3)
    • PHP (9)
    • Spring (Boot) / Quarkus (35)
    • Utils (15)
    • Vaadin 24+ (27)
    • Vaadin 8 (1)
  • Apps (18)
    • Employees DB (1)
    • Notes (6)
    • Personal Budget (1)
    • Recipes Book (1)
    • Stuff Organizer (1)
    • To-Do (2)
  • PDF Books (3)
  • Source Code Generators (8)

Recent Posts

  • Example of GridView Builder in Flutter
  • How to Visualize Listview inside Listview in Flutter
  • What other usages you know about public private cryptography
  • Get a Flutter App to Production
  • Firebase Dynamic Links Deprecation – migrating out to Java

Post Categories

  • Apps (20)
  • ChatGPT (19)
  • Choosing a Framework (38)
  • Flutter (201)
  • Graphical User Interface (13)
  • Marketing (113)
  • Software Development (268)
  • Spring (41)
  • StartUp (21)
  • Uncategorized (15)
  • Uncategorized (4)
  • Vaadin (14)