Account Management -> Sign In with Google

Sign In with Google

Summary

This page is dedicated to helping you sign in to the application using your existing Google account. When you arrive here, the app will automatically start the process of connecting with Google for authentication. After you confirm your identity with Google, you will be securely redirected back to the application.

Page Access

You can access this page by navigating to: /signinwithgoogle

Page Functionalities

Initial View: Redirecting to Google

  • Title Bar: Displays "Sign In with Google".
  • Loading Indicator: A circular animation appears in the center of the screen, indicating that a process is underway.
  • Redirect Message: Text reading "Redirecting to Google..." is shown below the loading indicator, informing you that the app is preparing to send you to Google's sign-in page.

Error View: Sign In Failed

If the Google Sign-In process encounters an issue, this view will be displayed:

  • Error Icon: A prominent error icon (e.g., an exclamation mark in a circle) is displayed.
  • Error Message: A clear message states: "Sign in with Google failed. Please try again."
  • Back to Login Button: A button labeled "Back to Login" allows you to manually return to the main login screen to try other sign-in methods.

Scenario Executions

Possible usage steps within this page

Successful Google Sign-In

This is the intended and most common scenario, where you successfully log in using your Google account.

  1. You navigate to the "Sign In with Google" page (e.g., by clicking a "Sign in with Google" button on the main login screen).
  2. The page immediately shows "Redirecting to Google..." with a loading indicator.
  3. Your browser or app will then take you to Google's secure sign-in page.
  4. On the Google page, you will be prompted to select your Google account or enter your credentials.
  5. After successfully authenticating with Google, you will be automatically redirected back to our application.
  6. Upon returning, you will be logged in and taken to the application's main dashboard or home screen.

Possible errors which may occur on this page

Sign-In Initiation Failed

This error occurs if the application cannot even begin the process of sending you to Google for sign-in.

  • How it happens: This might be due to a temporary network problem, an incorrect application setting, or a technical issue preventing the app from launching the Google sign-in flow.
  • What you see: The loading screen will disappear, and you will see an error icon, the message "Sign in with Google failed. Please try again.", and a "Back to Login" button.
  • What to do: The page will automatically redirect you to the main login screen after a few seconds. You can also click the "Back to Login" button immediately to return and try signing in again, perhaps using a different method if the issue persists.

Unexpected Technical Problem During Sign-In

This error occurs if an unforeseen technical issue arises while the application is communicating with Google or our backend services during the sign-in process.

  • How it happens: This could be due to a temporary glitch with Google's authentication service, an issue on our application's server-side handling of the sign-in, or another unexpected software problem.
  • What you see: Similar to the initiation failure, you will see an error icon, the message "Sign in with Google failed. Please try again.", and a "Back to Login" button.
  • What to do: The page will automatically redirect you to the main login screen after a few seconds. You can also click the "Back to Login" button. It is recommended to wait a moment and try again, or contact support if the problem continues.