Hi Team, I am trying to integrate my application with Creatio OAuth 2.0 using( Grant type - authorization code).
I created a URL with right client_id and redirect_uri
When I click the above link, it takes uses to username/password page, then to consent page. Once the user accepts the consent page info, it gives the below error, "Integration setup error"(See screenshot).
One thing that's not clear is scope. I have currently set it to the "Name"(Test) field that we specify in the Settings->OAuth 2.0 Integrated Application. I even tried using various other scopes as "offline_access" based on the below doc(https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…) , but it doesn't make any difference.


Like
Hello Prabu Devarrajan,
Take a look at https://xxxx-demo-is.creatio.com/.well-known/openid-configuration, you will find a section called "scopes_supported". This is an example for my personal site:
{
"issuer": "creatio.com",
"jwks_uri": "https://xxxx-demo-is.creatio.com/.well-known/openid-configuration/jwks",
"authorization_endpoint": "https://xxxx-demo-is.creatio.com/connect/authorize",
"token_endpoint": "https://xxxx-demo-is.creatio.com/connect/token",
"userinfo_endpoint": "https://xxxx-demo-is.creatio.com/connect/userinfo",
"end_session_endpoint": "https://xxxx-demo-is.creatio.com/connect/endsession",
"check_session_iframe": "https://xxxx-demo-is.creatio.com/connect/checksession",
"revocation_endpoint": "https://xxxx-demo-is.creatio.com/connect/revocation",
"introspection_endpoint": "https://xxxx-demo-is.creatio.com/connect/introspect",
"device_authorization_endpoint": "https://xxxx-demo-is.creatio.com/connect/deviceauthorization",
"frontchannel_logout_supported": true,
"frontchannel_logout_session_supported": true,
"backchannel_logout_supported": true,
"backchannel_logout_session_supported": true,
"scopes_supported": [
"openid",
"profile",
"email",
"phone"
],
...
}Maybe you can try with those values and check if the authorization can end successfully.
Regards.