Repository navigation
Google Authentication
Andreas Michael edited this page Nov 30, 2026
·
1 revision
The ESN Membership Manager supports Sign in with Google (OAuth 2.0), allowing applicants and members to authenticate
on the Application Form (/memberships/apply) and Member Dashboard (/memberships/dashboard) without waiting for an
email verification code.
- A Google Cloud Console project.
- Access to Google Auth Platform (or APIs & Services > Credentials) in your project.
Note
Google Authentication uses an OAuth 2.0 Client ID configured directly in ESN Membership Manager Settings. It does not require a Google Service Account or Omnia Google Integration.
- Go to the Google Cloud Console and select your ESN section's project.
- Navigate to Google Auth Platform > Overview (or APIs & Services > OAuth consent screen).
- Choose External as the User Type so any student with a Google account can sign in.
- Fill in your app name (e.g.,
ESN Membership Manager), support email, and authorised domain. - Publish the app to Production so external users are not blocked by test-user restrictions.
- Navigate to Google Auth Platform > Clients (or APIs & Services > Credentials).
- Click Create Client (or Create Credentials > OAuth client ID).
- Select Web application as the Application type.
- Enter a Name (e.g.,
ESN Membership Manager). - Under Authorized redirect URIs, add:
https://your-domain.com/memberships/auth/google-
Note: Replace
your-domain.comwith your actual site domain.
-
Note: Replace
- Click Create and copy the generated Client ID and Client Secret.
- Navigate to the module settings:
/admin/config/system/esn-membership-manager. - Under Enable / Disable Features > Third-party Authentication, check Enable Google Authentication.
- Open the Google Authentication Settings section and enter:
- Client ID: Your OAuth 2.0 Client ID.
- Client Secret: Your OAuth 2.0 Client Secret.
- Click Save configuration.
-
Registration (
/memberships/apply): Signing in with Google verifies the applicant's email address immediately, creates an in-progress application record, and pre-fills the verified email field. If an application already exists for that email, the user is redirected to the Member Dashboard. -
Login (
/memberships/dashboard): Signing in with Google authenticates the member directly into their Member Dashboard. If no application exists for that Google account, they are redirected to the Application Form.