Connecting Freshdesk with OpenID Connect
Let your support team sign in to Freshdesk with their ID Everywhere account, including two-factor authentication. Freshdesk uses Freshworks SSO, which connects to ID Everywhere with OpenID Connect and matches people to their Freshdesk accounts by email address.
Before you start
- You need to be an Organization Admin in Freshworks and a Domain Admin in ID Everywhere.
- Each agent who will sign in needs an ID Everywhere account in your company, with the same email address as their Freshdesk agent account (agents must already be added in Freshdesk with the same email).
- Which sign-in options you see depends on your Freshdesk plan. If OpenID Connect isn't offered, check your plan with Freshworks.
- Keep a Freshworks admin session open in another browser window while you set this up, so you can't lock yourself out.
This guide sets up sign-in for agents, your own staff. Freshdesk contacts (your customers) usually don't have ID Everywhere accounts in your company, so leave their sign-in as it is unless your help portal is only for your own people.
1. Start the SSO setup in Freshworks
- Sign in to your Freshworks organization, for example
https://yourcompany.myfreshworks.com. - Click the Security icon in the sidebar, then go to Agents & Employees › Default Login Methods.
- Turn on SSO Login and choose OpenID Connect (OIDC).
- Copy the Redirect URL Freshworks shows. You'll need it exactly in the next step. Leave this page open.
2. Register Freshdesk in ID Everywhere
- In ID Everywhere, go to Sign-In › OIDC Apps and click + Add OIDC Application.
- Application Name:
Freshdesk. People see it on the sign-in screen and in their sign-in emails. - Client Type: Confidential.
- Authorized Redirect / Callback URLs: paste the Redirect URL from Freshworks, exactly as shown.
- Scopes: leave
openid,profileandemailticked. - Click Create Application, then copy the Client ID and the Client Secret. The secret is shown only once.
Paste the client secret straight into Freshworks or a password manager. Don't email it. If it's lost, click Regenerate Client Secret and use the new one.
3. Finish the setup in Freshworks
Back on the Freshworks SSO page, fill in the fields in the order they appear:
| Freshworks field | Value |
|---|---|
| Client id | The Client ID from step 2. It starts with ide_. |
| Client secret | The Client Secret from step 2 |
| Scopes | openid,email,profile |
| Logout URL | Leave blank |
| Authorization URL | https://app.ideverywhere.com/oauth2/authorize |
| Access token URL | https://app.ideverywhere.com/oauth2/token |
| Enhanced Security: Enable PKCE for SSO Authentication | On. ID Everywhere supports PKCE, and it adds protection against intercepted sign-in codes. |
Browsers sometimes autofill your email address into Client id. Make sure it contains the Client ID from ID Everywhere (starting with ide_), not an email address.
Then open Advanced Options:
| Freshworks field | Value |
|---|---|
| Update profile every time a user logs in | On, so name and email changes in ID Everywhere carry over to Freshdesk |
| Button Label | Sign in with ID Everywhere (otherwise the button says "Sign in with SSO") |
Freshworks reads each person's email address and name from ID Everywhere automatically. No claim mapping is needed.
Click Configure SSO (or Save).
How Freshdesk matches agents to their accounts
- Freshworks finds the agent by the email address from ID Everywhere and signs them in to that account.
- If someone changes their name or email in ID Everywhere, Freshworks updates their profile the next time they sign in.
- Freshworks doesn't store a password for SSO sign-ins. Disabling someone in ID Everywhere stops them signing in to Freshdesk.
- Only people in the company that owns the OIDC app can sign in. If you're an MSP setting this up for a client, create the app while you're working in that client's company.
4. Test before turning off other sign-in methods
- Leave Freshworks' other login method (for example, email and password) turned on for now.
- Open a private browser window and go to your Freshdesk sign-in page.
- Click Sign in with ID Everywhere, then sign in with your ID Everywhere email, password and two-factor code.
- You land in Freshdesk, signed in to your own agent account.
- Once every admin has signed in this way successfully, you can turn off the other login methods in Default Login Methods, so agents always sign in through ID Everywhere.
The agent gets a New App Sign-In email naming Freshdesk. They get one the first time they use it during each ID Everywhere session.
Troubleshooting
Check the ID Everywhere Audit Log for oidc. events right after a failed attempt.
| Problem | Cause and fix |
|---|---|
| Redirect URI error on the ID Everywhere screen | The Redirect URL in ID Everywhere doesn't exactly match the one Freshworks shows. Copy it again from Freshworks. |
invalid_client (Audit Log: oidc.token.denied) |
The Client id or Client secret in Freshworks doesn't match. Check that Client id wasn't autofilled with an email address, paste both again, and if unsure, regenerate the secret. |
| "User is not authorized for this application" | The person belongs to a different company from the one that owns the OIDC app. |
| Signed in to ID Everywhere, but Freshdesk can't find the agent | The agent's email in Freshdesk doesn't match their ID Everywhere email, or they aren't an agent yet. Fix the email or add them as an agent. |
| Name is missing in Freshdesk | The profile scope is missing. Check that Scopes in Freshworks includes profile and that profile is ticked on the app in ID Everywhere. |
For other errors, see Troubleshooting OIDC Connections.