How OpenProject sign-in with Google Workspace works
Your staff already sign in to Google Workspace every day, so a self-hosted OpenProject instance that asks for a separate password adds friction and another credential to manage. OpenProject's preconfigured Google provider lets those staff sign in with their Google accounts instead. To make it work, you create an OAuth consent screen and an OAuth client ID in your Google Cloud project, then register the redirect URI /auth/google/callback against your OpenProject host name. When a user chooses Google at the login page, OpenProject sends them to Google, Google checks their identity and returns an authorization response to that callback, and OpenProject matches the returned identity to a local user. The redirect URI must match your public OpenProject address exactly, including the scheme, so a mismatch between the host name in Google and the one in your configuration is the most common reason this step fails.
Google authenticates the person, but OpenProject still owns the account. Google does not decide which project roles a user holds, which global permissions they have or whether an administrator account exists, and removing someone from your Google domain does not by itself deactivate the matching OpenProject user. Plan those lifecycle steps separately, and decide how you will handle the first sign-in of a user who already has a local OpenProject account with the same email address. Confirm with the vendor, in the documentation for your exact OpenProject version, how existing accounts are linked, which settings control domain restriction and whether the consent screen requires publishing or internal user type for your Google Workspace tenant. Keep a local administrator login available until the flow has been tested end to end.
What you need before configuring Google sign-in
Google sign-in for OpenProject depends on four things lining up: the OpenProject instance, its public address, the Google Cloud project and the Workspace domain settings. Confirming each one before you open the Google console prevents most of the rework in this setup.
A running OpenProject instance
You need a self-hosted OpenProject instance that you can reach as an administrator, with the admin account working before any SSO change. Confirm the exact OpenProject version and whether you run the Community or an Enterprise edition, because the preconfigured Google provider and the other sign-in options depend on what your installation includes. Record the version now so you can match it against the provider documentation later.
OpenID providers docsA public HTTPS hostname
Google redirects users back to your OpenProject instance, so the hostname must be public, served over HTTPS and match the host name you configured for OpenProject exactly. The redirect URI must end in /auth/google/callback under that hostname. A mismatch in scheme, port or subdomain is the most common cause of a failed first login, so check the reverse proxy and host settings before you register the client.
A Google Cloud project owned by the organization
Create or select a Google Cloud project that the organization owns and administers, not one tied to an individual's personal account. The OAuth client ID and secret are issued inside this project, and whoever controls it can change or revoke the sign-in configuration. Confirm who holds the owner role and who will rotate the client secret later.
Google Workspace admin console access
You need administrator access to the Google Workspace admin console to confirm the primary domain, the user accounts that should sign in and any organizational unit rules. Domain ownership and user status are managed there, not in OpenProject. Confirm that the staff who will sign in hold active Workspace accounts on the domain you plan to allow.
Consent screen settings by user type
The OAuth consent screen differs depending on whether your Workspace is set to internal or external user type. An internal app limits sign-in to accounts in your Workspace, while an external app can be used by any Google account and may require verification before broader use. Decide which type matches your intent before you configure the screen, and check the required fields against current Google documentation, because Google changes this console over time.
Configuring the Google provider in OpenProject
This sequence connects a self-hosted OpenProject instance to a Google Cloud OAuth client, so staff can sign in with their Google accounts. Each step ends with a check that confirms the redirect, the credentials and the first test login before you open sign-in to the wider team.
Select or create the Google Cloud project
A Google Workspace administrator or a cloud administrator with project-creation rights selects an existing Google Cloud project owned by your organization or creates a new one dedicated to sign-in. Keep the project under the organization's account, not a personal one, so the OAuth client stays available when staff change roles. Confirm the project name and ID are recorded in your change log, since you will return to this project to rotate the client secret or adjust the consent screen later.
Configure the OAuth consent screen
In the project's Google Auth Platform settings, set the application name, support contact and the user type that matches your setup. Choose internal if only your Workspace domain should authenticate, since that choice limits sign-in to accounts in your organization. Add the scopes that OpenProject requests for basic profile and email information, and leave out anything broader. The step is complete when the consent screen saves without errors and shows the expected application name and contact address.
Create the OAuth client ID with the callback URL
Create an OAuth client ID of the web application type. Under authorized redirect URIs, add the exact address https://<your-instance-base-URL>/auth/google/callback, using the public base URL that OpenProject is configured to use, including the scheme and without a trailing slash. A mismatch between the host name in this URI and the instance's configured host is the most common cause of a failed first sign-in, so check the character-by-character match before saving. The step is complete when Google displays the client ID and secret.
Enter the credentials in OpenProject administration
Sign in to OpenProject as a built-in administrator through the internal login route, then open the authentication settings and select the preconfigured Google provider. Paste the client ID and client secret copied from Google Cloud and save. Store the secret in your organization's secrets process rather than in a shared document, and note who holds the Google Cloud project owner role. The step is complete when the settings save and the provider appears as configured in the administration area.
Enable the Google provider
Turn on the Google provider in the same authentication settings and confirm that the Google sign-in option now appears on the OpenProject sign-in page when you open it in a private browser window. Keep password login available at this stage so administrators can still reach the instance if sign-in fails. The step is complete when the sign-in page shows the Google button and the change is recorded in your administration log.
Test sign-in with a non-admin account
Ask a standard staff member who is not an OpenProject administrator to sign in with Google from a clean browser session. Confirm that the Google consent prompt appears, the redirect returns to the instance without an error page, and the user lands in the OpenProject home page with the expected name and email address. Check the user's status and role in the administration user list, and repeat the test with one account from outside your domain to confirm that it is refused. The step is complete when both results match what your access policy requires.
Review the result before wider rollout
Compare the test results with your sign-in policy, including which domain accounts should be allowed, what happens to accounts that already exist under the same email address, and who can see and change the provider settings. Record the redirect URI, the client owner and the test outcomes in the change record. Confirm the procedure for rotating the client secret before you announce Google sign-in to users. The step is complete when the owner signs off the test record and the rollout plan lists the open decisions.
Restricting sign-in to your Google Workspace domain
Domain restriction matters because a Google OAuth client can accept accounts outside your organization if it is configured as external. An external consent screen lets any Google account holder, including a personal Gmail address, start the sign-in flow against your OpenProject instance. Whether that request then succeeds depends on how OpenProject handles the returned identity, so the restriction has to be set deliberately on the Google side and verified on the OpenProject side. Choose the user type for the OAuth consent screen before anything else. An internal consent screen is limited to accounts in your Google Workspace organization, which removes consumer accounts from the sign-in path. An external consent screen is needed only when accounts outside your Workspace must sign in, and in that case you need another control to keep them out.
Confirm how your OpenProject version enforces domain or account restrictions before you rely on the consent screen alone. The preconfigured Google provider is documented in the OpenID providers documentation, which covers the OAuth consent screen, the client ID and the /auth/google/callback redirect URI. Check that page and your release notes for any setting that limits the allowed domain or account, and do not assume one exists. Ask your DeployOpen team or the OpenProject documentation how a sign-in for an address outside the allowed domain is handled, and whether an existing account with a matching email can be taken over. Record the answer in your configuration notes for the next upgrade.
Test both cases before go-live. Sign in with a personal Gmail account and confirm it is rejected or handled as you intended, with no user account created. Then sign in with a Workspace account from another organization or a second domain you do not own, and confirm the same result. Repeat these tests after any change to the consent screen, the client settings or the OpenProject version, and keep the results with your access review evidence. Use a test user list on the internal or external consent screen during the trial so that only named accounts can reach the flow.
How Google account data maps to OpenProject users
This table compares each Google identity attribute with the OpenProject user field it feeds and the matching risk it creates. Read it before the first test sign-in, because the matching key decides whether a Google login finds an existing account or creates a new one. Group membership is the main gap to settle early, since the preconfigured provider does not bring Google groups across by default.
| Google attribute | OpenProject field or use | Matching risk to check |
|---|---|---|
| Email address | Primary login identifier used to match existing accounts | Changed or aliased addresses can create a second account instead of matching the old one |
| Given and family name | First and last name shown on the user profile | Duplicate names across staff do not match accounts, but they make audit records harder to read |
| Subject identifier (sub) | Unique identity key from Google for the account | Confirm with the provider documentation whether it is used for matching in your version |
| Hosted domain (hd claim) | Used to limit sign-in to your Google Workspace domain | Accounts outside the domain must be blocked by configuration, not by the user's choice |
| Group membership | Not mapped by the preconfigured provider by default | Confirm whether group sync is needed; it may require an Enterprise plan feature |
| Existing local accounts | Accounts created before SSO was enabled | Mismatched emails leave duplicate accounts; plan a cleanup and test with a sample user |
Handling users who already have OpenProject accounts
Decide before rollout how existing local accounts relate to Google sign-in, because a Google login that matches an existing email address can attach to a local account you did not intend to link. The main risks are duplicate accounts for the same person, where one identity signs in through Google and another keeps the old password, and lost project memberships or roles when work is split across two user records. Build a list of every local account that shares an email domain with your Google Workspace, then mark each one as linked to Google, kept local, or disabled. Treat accounts with global administrator rights as a separate group that should not be linked automatically, since linking an admin account to a broadly accessible identity provider widens who can take over the most privileged role.
Confirm identity before any account is linked. Ask each owner to sign in with Google from a test instance or a non-production copy, then check that the record they reach carries the expected memberships and roles. Confirm in your own version how OpenProject matches an incoming Google identity to an existing user, whether by email address alone, and what happens when a matching account is already active. Document the result, because linking behavior can differ between releases and you should not rely on memory of how it worked in a previous version.
Keep a local administrator login working throughout the change. Before you restrict sign-in to Google, confirm that at least one named administrator can still sign in with a local password, store those credentials under your normal secrets process, and test the login on the production URL. If Google sign-in fails for a domain or account, that break-glass path is what lets your team correct the configuration. Plan the cutover so that existing users are migrated in small groups, and keep the local path active until every linked account has been verified.
Securing the Google sign-in configuration
Google sign-in gives OpenProject a trust relationship with your Google Workspace tenant, so the OAuth client, its consent screen and the admin settings that hold its secret need the same care as any other production credential. The controls below connect the Google Cloud project, the OpenProject admin area and the Workspace policies that decide who can sign in.
Keep the client secret out of source control
The OAuth client secret lets anyone who holds it impersonate your application during the Google sign-in flow. Store it in a secrets manager or a protected environment file on the OpenProject host, never in a Compose file, Helm values file or repository checked into version control. Confirm that backups and deployment logs do not print it in plain text. Limit who can open the OpenProject administration settings, because a user with admin access can view or replace the stored credential.
Restrict the consent screen to your organization
Set the OAuth consent screen user type to internal so that only accounts in your Google Workspace organization can authorize the application. If your setup requires external accounts, treat that as a separate risk decision and document who is included. Review the application name, support contact and authorized domains so that staff can recognize the prompt and report anything unexpected.
Keep the redirect URI exact and on HTTPS
The redirect URI registered in the Google Cloud console must match the OpenProject callback path, /auth/google/callback, character for character, including the scheme, host and any port. Serve OpenProject over HTTPS and confirm that no duplicate or wildcard-style redirect entries remain from testing. A mismatched or plain HTTP URI either breaks sign-in or leaves a weaker path for the flow, so review it after every change to the public hostname or reverse proxy.
OpenID providers docsReview the Google Cloud project access list
Anyone with owner, editor or OAuth administration rights on the Google Cloud project can change the consent screen, add redirect URIs or create new client credentials. Keep that list short, assign named individuals rather than shared accounts, and remove access when people leave the platform or IT team. Export the IAM bindings on a regular cadence and compare them with your current staff roster, so that a former administrator cannot quietly alter the sign-in configuration.
Rotate the client secret on a schedule
Plan a rotation for the client secret at a fixed interval and immediately after any staff change that touched the credential. Create the new secret in Google Cloud, update the OpenProject configuration, test a sign-in with a non-admin account, and then delete the old secret. Record each rotation date in your change log. Ask your team to confirm how the rotation interval fits your own security policy, because no fixed interval is set by this configuration.
Set multi-factor policy in Google Workspace
Multi-factor authentication for Google accounts is enforced in Google Workspace, not in OpenProject, so the sign-in flow inherits whatever second-factor policy your Workspace administrators set. Confirm that the policy applies to the organizational units whose members use OpenProject. Review OpenProject's own two-factor options separately, since they govern accounts and sessions inside the application and may still be needed for local or break-glass logins.
Why Google sign-in fails and how to fix it
This table lists the failures most often seen when OpenProject sign-in with Google Workspace is first set up, with the likely cause of each and the check to run first. Work down the rows in order, since the redirect URI and consent screen are the two settings that block sign-in most often.
| Failure | Likely cause | Check or fix first |
|---|---|---|
| redirect_uri_mismatch error at Google sign-in | The redirect URI registered on the OAuth client differs from the callback OpenProject sends, often because of a trailing slash, http instead of https, or a host name that does not match the public base URL | Confirm the authorized redirect URI is exactly the public base URL followed by /auth/google/callback, and that the base URL in OpenProject matches it character for character |
| Only test users can sign in | The OAuth consent screen is still in testing mode, so accounts not listed as test users are refused | Check the publishing status of the consent screen and confirm the audience setting matches the users who need access before go-live |
| Google client ID rejected or wrong app opens | The client ID and secret were copied from a different Google Cloud project than the one holding the consent screen | Compare the project name in the Google Cloud console with the client ID in the OpenProject configuration and recreate the credentials in the correct project if they differ |
| Personal Gmail accounts can sign in | The domain restriction is missing or set on the wrong attribute, so any Google account that passes authentication is admitted | Restrict sign-in to your Workspace domain using the hosted domain check in the configuration, then test with a personal account to confirm it is refused |
| Duplicate account for an existing user | The Google sign-in creates a new user because the email in the token does not match the existing OpenProject account, such as an alias or a different capitalization | Confirm the stored email matches the Google primary address, correct the account record or merge it, then sign in again before rolling out to other staff |
| Sign-in loop behind a reverse proxy | The proxy changes the host or scheme (http instead of https) or drops forwarded headers, so OpenProject builds a callback URL that does not match the one Google returned to | Set the public host and HTTPS scheme in the OpenProject configuration and pass the forwarding headers from the proxy, then clear cookies and retry the sign-in |
Questions buyers ask about Google sign-in for OpenProject
How much effort does configuring Google sign-in for OpenProject take?
The configuration itself is small: an OAuth consent screen, an OAuth client ID and the redirect URI /auth/google/callback in OpenProject's preconfigured Google provider. The effort comes from the decisions around it. Consent screen review, the domain restriction you choose, how existing local accounts are matched to Google addresses, and whether OpenProject sits behind a reverse proxy that passes the public hostname correctly all add work. Ask any partner to split the quote into the Google-side setup, the OpenProject configuration, the account cleanup and the test rounds, so you can see which part drives the total.
Can our internal team set up Google sign-in without outside help?
Yes, if your team already runs OpenProject behind HTTPS and has someone who can administer the Google Cloud project and the Google Workspace admin console. The steps are documented in OpenProject's OpenID providers guide, and the hard parts are operational: deciding who may sign in, handling accounts that already exist under local logins, and testing with real users before the switch. Teams without that Google and identity experience, or with many existing accounts to reconcile, often bring in a partner for the planning and testing rounds only.
What does the work need from our organization?
You will need a Google Workspace administrator who can approve or configure the OAuth client and the consent screen, a Google Cloud project to host them, and an OpenProject administrator with access to the authentication settings. The OpenProject host needs a stable DNS name and a valid HTTPS certificate, because the redirect URI must match exactly. Plan a pilot group of staff who will test sign-in across browsers and devices before everyone is moved over. Confirm which person owns the client secret and how it is rotated.
How long does Google sign-in setup take?
The duration depends mostly on account cleanup, not on the Google settings. If your staff already have OpenProject accounts that match their Workspace addresses, the switch is quick. If you have duplicate accounts, shared logins, former staff or users whose email addresses changed, reconciling them takes longer and needs an owner to decide each case. Ask for a timeline that lists the cleanup step and the pilot period separately, and confirm the review time for your consent screen with your Google administrator, since that step sits outside OpenProject.
Is Google sign-in included in the free Community edition?
Check this on the pricing page before you plan. OpenProject's Community edition is free and includes work packages, Gantt charts, agile boards, time tracking and dashboards. The pricing page lists single sign-on with SAML, OIDC, CAS, Kerberos and Okta among Enterprise features, and Google sign-in is an OpenID Connect provider. Confirm with the vendor, using the OpenProject pricing page, whether the preconfigured Google provider is available on the edition and plan you intend to run, and get that answer in writing before the scope is signed.
What should we do if Google is unavailable or sign-in breaks?
Keep a local administrator login working before you change anything. Test a break-glass admin account, store its credentials under your normal privileged access process, and confirm you can reach the internal login route after the switch. Google outages are rare but a misconfigured redirect URI or a changed consent screen can lock out everyone at once. Use a staged rollout with a test group, and record the rollback steps so an administrator can restore password login quickly.
Can we restrict sign-in to our own Google Workspace domain?
Yes, domain restriction is a policy decision you should make before go-live. Restrict sign-in to your Workspace domain at the OAuth consent screen and in OpenProject's settings, then test with an account from outside the domain to confirm it is refused. Decide in advance how contractors, shared mailboxes and guest accounts are handled, because those are the cases that usually need a written exception. Review the access rules again whenever your domain or identity policy changes.
How a Google sign-in request moves through OpenProject
The flow starts when a staff member selects sign-in with Google on the organization's OpenProject host. OpenProject redirects the browser to Google, where the user signs in and approves the consent screen. Google then sends the browser back to the /auth/google/callback route on the same host. OpenProject checks the response, matches it to an existing local account or creates one, and only then starts the session. Confirm that the callback URL matches the one registered in your OAuth client, and that Google is the only external party in the chain.
Sign-in hand-offs between the staff browser, the OpenProject host and Google.
How DeployOpen scopes and delivers Google sign-in for OpenProject
DeployOpen plans, configures and hands over Google sign-in for a self-hosted OpenProject instance inside your own infrastructure. Every engagement starts with a written scope that names your Google Workspace domain, your OpenProject version and who needs access, so the work is agreed before any settings change.
How we scope
- The written scope names your Google Workspace domain, OAuth consent screen ownership and the OpenProject hostname that will receive the callback.
- We confirm which OpenProject edition and release your instance runs before setting the Google provider, since sign-in settings depend on the installed version.
- We record how existing local accounts will be matched to Google identities, including what happens to accounts that have no Google match.
How we build
- We create the OAuth consent screen and client ID in your Google Cloud project and register the redirect URI at /auth/google/callback on your OpenProject host.
- We restrict sign-in to your own domain and test that accounts outside it are refused before any staff member is moved over.
- We run a test sign-in with a set of pilot accounts, including one existing local account, and record the results against the agreed scope.
How we hand over
- You receive a runbook covering the client ID storage location, the redirect URI, the domain restriction and the steps to rotate the client secret.
- We document the account matching decisions, so administrators know how existing users were linked and how new staff accounts will appear.
- We walk your administrators through a break-glass login check so that a misconfigured provider cannot lock every user out of OpenProject.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, so OpenProject releases and Google settings can be checked on a set schedule.
- Each OpenProject upgrade is followed by a sign-in regression check, covering the Google provider and the redirect URI, before users are affected.
- Changes to the Google Workspace domain, consent screen or hostname are handled as written change requests against the original scope.

