Hi Team,
Idea:
Currently, when setting up OAuth authentication in Freshservice, users need to manually enter their Freshworks and Freshservice domain URLs. However, there is no built-in validation to ensure the accuracy of these inputs, requiring developers to handle potential errors in the UI.
It would be great if the domain URL could be automatically detected during the OAuth process, reducing user effort and minimizing errors.
Here’s how domain input is currently handled in oauth_iparams
:
"oauth_iparams": {
"freshworks_org_domain": {
"display_name": "Your Freshworks organization domain",
"description": "Enter your Freshworks organization domain. For example, samplecompany.myfreshworks.com",
"type": "text",
"required": true
},
"freshservice_domain": {
"display_name": "Your Freshservice domain",
"description": "Please enter your Freshservice domain. For example: subdomain.freshservice.com",
"type": "text",
"required": true
}
}
Proposed Solution:
Freshservice could automatically fetch the domain URL when users authenticate via OAuth, eliminating the need for manual input and validation. This would enhance the user experience and reduce potential errors.
Would love to hear thoughts on this!
Thank you