Developers
Sign-In

Social Sign-In

People can sign in to OfficeUG with Google, GitHub or LinkedIn. A platform administrator sets this up once under Platform Settings, and it then applies across the platform.

Redirect URLs

Each provider needs a redirect URL. Copy it from the settings page, or use these:

Provider Redirect URL
Google https://officeug.com/auth/google/callback
GitHub https://officeug.com/auth/github/callback
LinkedIn https://officeug.com/auth/linkedin/callback

The URL must match exactly, including https and with no trailing slash.

Google

  1. Open the Google Cloud Console and create or select a project.
  2. Go to Credentials → Create Credentials → OAuth 2.0 Client IDs and choose Web application.
  3. Add the redirect URL to Authorized redirect URIs.
  4. Copy the Client ID and Client Secret into Sign-In With Google Settings, then turn it on.

GitHub

  1. Open GitHub Developer Settings and click New OAuth App.
  2. Enter your application name and homepage URL.
  3. Add the redirect URL as the Authorization callback URL, and register the app.
  4. Copy the Client ID, generate a Client Secret, and save both in Sign-In With GitHub Settings.

LinkedIn

  1. Open the LinkedIn Developer Portal and create or select an app.
  2. Under Products, add Sign In with LinkedIn using OpenID Connect.
  3. On the Auth tab, add the redirect URL.
  4. Copy the Client ID and Client Secret into Sign-In With LinkedIn Settings.

Good to know

  • You can upload a custom logo for each provider's sign-in button.
  • Once a secret is saved, the settings page won't show it again. Type a new one to replace it.

Troubleshooting

Error Likely cause
redirect_uri_mismatch The URL in the provider's settings differs from the one above.
invalid_client The Client ID or Client Secret is wrong, or the secret was rotated.