• What is the correct way to request a refresh token?

    I'm able to request an access token without issue. However I cannot use the refresh token to get a new one when it expires. I get an invalid grant_type error. I've tried both with and without an auth header with a bearer token. And with a…
  • Sugar Market Test Credentials

    Hey, I've created a handful of scripts to push/pull using Sugar Market's API. I wanted to try testing them before they are put on production, but I don't know where I can get testing credentials. Endgrate Developers are SugarCRM ISV partners. Where can…
  • Add JS API call to menu.

    Hi, I have a sugar API endpoint (GET) that pulls a processed set of meetings records as CSV - using date parameters. I can call this using the standard sugar password grant type from an external client. However, I would also like to integrate this into…
  • Microsoft Exchange - 2FA Auth for SMTP Settings

    Hi everyone. We are having issues with SugarCRM requiring basic auth in the System Email settings. Our IT team will not let us use basic auth for Exchange and are asking us to see what sugar can do. The error we're getting is: Wed May 3 12:35:18 2023…
  • does sugar log failed api requests for tokens?

    Does Sugar log failed requests for API tokens? I'd like to see if there were any token requests that failed the authentication step. thank you, Francesca
  • Error requesting access token API-REST

    Good Afternoon, Requesting your support with the following topic: We create an integration with SugaCRM through an API-REST. The detail is that we are trying to obtain an authentication token from SugarCRM with the endpoint /rest/v11/oauth2/token using…
  • Outlook plugin and SAML for On Premise Instance

    Hello, We are facing a problem related to the Outlook Plugin for On Premise Instance : as far as I understand, the plugin is not compliant with SAML authentication because it requires Sugar Identity (Cloud Only). I don't know if one of you already…
  • LDAP not working on new server

    Hi, Please note how things are setup to clarrify the situation: On premesis Sugar Enterprise Version 11.0.2 Server 1 (Existing Prod Server) Server 2 (New Prod Server) Both are running off the same database server host. Both have their own IIS…
  • Python requests - invalid paramaters on POST request for record list

    Hiya, I have split this up into what I am trying to do and the issue it's self for people who wanna jump straight to the issue or want to read on what I am trying to do first. what I am trying to do: I have been recently making a program for our…
  • access token expire immediately or valid for one time

    I am trying to fetch data from Sugar through API so after getting OAtuth token from sugar when I call an API e.g Accounts this works fine but after that, if I call another API with the same token it gives the error "invalid_grant" with a message "Your…
  • Best way to log in a Sugar User from an in-house application via LDAP

    Premise: I don't understand the first thing about how authentication really works. We have our own in-house ERP application. ( https://sugarclub.sugarcrm.com/engage/it-operations/b/share-your-story/posts/ah-the-possibilities ) Our ERP users are a…
  • Authorization Grant Types

    Hello, we're integrating Sugar CRM with our product to import and push data, we're planning on using the REST API. My question is that the authentication flow requires us to get the username and password from the user into our client(Password grant type…
  • Using OAuth2.0 Swift authentication

    Hello All, I am developing an iOS application for crm. I am try to authentication using Oauth2.0. There are in bellow code. let oauthswift = OAuth2Swift ( consumerKey: client_id, consumerSecret: clientSecret, authorizeUrl: authURL, accessTokenUrl: accessURL…
  • Authentication error need_login when using REST v10

    Sugar - v9.0 Enterprise running on localhost using PHP v7.1.35 Wordpress custom plugin running on localhost using PHP v7.1.35 Ive got a strange problem with my local instance of sugar. I have a local copy of my live cloud install to facilitate development…
  • Authenticating with REST API without using username and password

    Hello! I'm integrating SugarCRM with our product to import and push data. I'm planning on using the latest REST API v8.2. My question is that the authentication flow requires us to get the username and password from the user into our client. I was wondering…
  • How do you logout a user from the server in PHP?

    I want to create a customisation that logs users out after a certain time of inactivity since closing Sugar in their browser (e.g. log out at night). I need this separate from Oauth token lifetimes so that APIs and the Outlook Plugin can still be configured…