Error configuring SSO for contacts

I’ve configured SSO for contacts and thus have been provided with a link like https://mytenant.myfreshworks.com/login/auth/1234567890123 for contacts authentication. However, when I go to that link I get a message like {“error”:“access_denied”,“error_description”:“Access Denied”}. The same mistake I get if I configure a custom policy with SSO for agents and employees.

Could you please help?
KR,
Vitaly

Hey hi,

When you are trying to access contact SSO/custom policy SSO endpoint you should be sending a client_id and redirect_uri as part of query params.

https://mytenant.myfreshworks.com/login/auth/1234567890123?client_id=<valid_client_id>&redirect_uri=<valid_redirect_uri_to_which_the_user_needs_to_land_on_after_successful_login>

Thanks,
Rubha

3 Likes

Hi @Rubha_shree
Thanks for the reply. My final question is: should redirect_uri be just the link to some Freshworks/Freshdesk resource?

Thanks,
Vitaly.

Yes it should be Freshworks/Freshdesk resource

1 Like

Sorry i dont understand, where can i find that data? client_id redirect_url etc… I have the same issue but i dont know what i need to do.

Thanks

@Ramon_garcia You don’t really need to find that data somewhere. When you configure SSO for contacts for some Freshworks product (e.g. Freshdesk) and then user goes to customer portal and clicks Login Here as a contact, Freshworks automatically appends client_id and redirect_uri to the link https://mytenant.myfreshworks.com/login/auth/1234567890123 and proceeds to it.

Thanks,
Vitaly.

2 Likes

A post was split to a new topic: Access Denied Configuring SSO