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 |
|---|---|
https://officeug.com/auth/google/callback |
|
| GitHub | https://officeug.com/auth/github/callback |
https://officeug.com/auth/linkedin/callback |
The URL must match exactly, including https and with no trailing slash.
- Open the Google Cloud Console and create or select a project.
- Go to Credentials → Create Credentials → OAuth 2.0 Client IDs and choose Web application.
- Add the redirect URL to Authorized redirect URIs.
- Copy the Client ID and Client Secret into Sign-In With Google Settings, then turn it on.
GitHub
- Open GitHub Developer Settings and click New OAuth App.
- Enter your application name and homepage URL.
- Add the redirect URL as the Authorization callback URL, and register the app.
- Copy the Client ID, generate a Client Secret, and save both in Sign-In With GitHub Settings.
- Open the LinkedIn Developer Portal and create or select an app.
- Under Products, add Sign In with LinkedIn using OpenID Connect.
- On the Auth tab, add the redirect URL.
- 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. |