Hello!

 

I am having trouble testing OAuth 2.0 token retrieval.

 

In the documentation for retrieving an access token, an Identity Service URL is required. Earlier it states that you do not need to deploy an identity service if you are using Creatio in the cloud, but I haven't had any luck finding what it should be in this case in documentation, our account, or in other community questions.

 

What is the Identity Service URL for Creatio accounts in the cloud?

Like 0

Like

2 comments

Posted a duplicate by refreshing the page - tried deleting this so hopefully it will be gone soon. Feel free to ignore.

Greetings!  
 

To work with OAuth 2.0, follow these steps:


1. Open the System Designer via settings.  

2. Navigate to the Import and Integration block → OAuth 2.0 Integrated Applications.  

3. Create a new record.  

4. After that, copy the following credentials:  
  - Client ID  
  - Client Secret  




5. Use Postman or any other platform convenient for working with APIs.  

6. Send a POST request to get tokens:  


POST https://website-is.creatio.com/connect/token




7. In the response, you will receive:  


{
 "access_token": "<TOKEN>",
 "expires_in": 3600,
 "token_type": "Bearer",
 "scope": "<SCOPE>"
}


  You will only need the access_token.  


8. Use the token to make the following request, for example:  


GET https://website.creatio.com/0/odata/Contact
Authorization: Bearer <TOKEN>


You will successfully retrieve the data.  


For more detailed information about working with OAuth, I recommend referring to the documentation:  
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/integrations-and-api/authentication/oauth-2-0-authorization/identity-service-overview

Best regards, 
Orkhan

Show all comments

Hello! 

 

I am having trouble testing token retrieval via OAuth 2.0.

 

In the documentation for retrieving an access token, an Identity Service URL is required. Earlier, it states that you do not need to deploy an identity service if you are using Creatio in the cloud, but I see no reference to what the URL should be in this case and have had no luck finding it.

 

What is the Identity Service URL for Creatio in the cloud?

Like 0

Like

2 comments
Best reply

it is in the system settings. Generally it is https://[instanceName]-is.creatio.com/connect/token

 

For example, if my instance is autos.creatio.com, the url would be https://autos-is.creatio.com/connect/token

it is in the system settings. Generally it is https://[instanceName]-is.creatio.com/connect/token

 

For example, if my instance is autos.creatio.com, the url would be https://autos-is.creatio.com/connect/token

Thank you! That's exactly what we needed.

Show all comments

I want to know my client secret in creatio studio's system settings, but it is encrypted how can I know what it is to integrate my application with creatio

Like 1

Like

1 comments

Hello!

You cannot decrypt the encrypted field. 
The data in the secret field is hidden because it contains confidential information for a specific system. 
You don't need the secret key from system settings to set up OAuth integration. Please follow the instructions provided to resolve the issue:
https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-d…

Show all comments

Hi,

I'm new in Creatio. I'm testing the integrations capabilities and I feel uncomfortable with Oauth. I want my user to log into the web service every time they acess my Creatio app. I want the protocol to retrieve their permissions/scopes in order to ensure they can access the data. In Creatio, all is performed on behalf of the user specified in the "Shared User" field. I don't want my users to use those credentials. Is there a way to bypass this ?

 

Like 0

Like

3 comments

Hello!

 

OAuth (Open Authorization) is a trusted, widely used standard protocol for authentication and authorization. It allows users to grant access to their resources on one website or application to a third-party application without disclosing their credentials, such as username and password. This approach enhances security and reduces the risk of credential theft. 

 

According to the basic logic of OAuth, the connection is created only once and only for one user. You can create another connection for the new user, however, there is no alternative way to bypass the logic as you described.

 

Hope the information was useful.

Hi,

 

Thank you for your answer. In that case, I am very curious about how you refresh the token given by the third party application. Essentially, what happens when the token expires ?

Thibault Cros,

To get a refresh_token, it will be necessary to add settings for "Auth code request URL" as it is described here: https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/#how-do-i-get-a-new-access-token--if-my-access-token-expires-or-is-revoked-

 

We will be glad to help with any other questions.

Show all comments

Hi All,

 

I am trying to setup the OAUTH2.0 on my trail cloud instance. Would like to know what should be the identity service URL which we need to specify on Postman to generate the access token?

 

I can able to get it for on-premise from this https://academy.creatio.com/docs/user/on_site_deployment/deployment_add… documentation.

 

Thanks,

Altaf Hussian.M

Like 1

Like

1 comments

Hello Altaf, 

 

In order to enable OAuth2.0 functionality for the cloud-based instance, you need to contact our support team using support@creatio.com.

The functionality will be enabled from our side and there will be no need to populate the settings manually. 

 

Best regards,

Anastasiia

Show all comments

Hi Community,

 

I want to make use of and set up OAuth 2.0 Authentication in web service authentication. For that I found below the academy article :

 

https://academy.creatio.com/docs/user/no_code_customization/web_service…

 

While setting up as per the article, there is one required field in the OAuth Setting fields which is "Auth code request URL".

 

But the API endpoints for which, I have to make use of Web Service OAuth Authentication, is not having settings for Auth code request URL required parameter.

 

 

Please guide and help me on this point that how I can set up OAuth Authentication in web service without Auth code request URL.

Like 0

Like

1 comments

Hello Pratic,



Unfortunately, the is no way to set up OAuth Authentication in web service without Auth code request URL.



This parameter is necessary to identify users.



Best regards,

Bogdan



 

Show all comments