Memsource REST API

How to Setup OAuth Authentication in Memsource

Setup

Apart from the standard authentication method (using an authentication token API call), the user can also configure OAuth 2.0 in their account and link Memsource to the desired application.
To establish the OAuth 2.0 connection, please follow the steps below:

  1. In your Memsource account, go to Setup and in the Integrations section, click on Registered OAuth Apps. From here, click New.
  2. Insert the Redirect (callback) URI, fill in the additional required fields, and press Save.
  3. You will be redirected to the overview of all registered applications, and a new field will be filled in: Client ID. This ID can be used in the application that connects to Memsource to establish the connection. It is, in fact, this ID that is stored in our database and is used to pair requests with the proper requester.
  4. Apart from the Client ID, you will also need the URLs below for authentication and for your token:
    • Auth URL: https://cloud.memsource.com/web/oauth/authorize
    • Token URL https://cloud.memsource.com/web/oauth/token

Once you configure these fields, you can request the authentication token from Memsource. When you do, a window will open with a Login screen to Memsource. Use the Administrator account to log in and click Allow. This will link Memsource and your application and will enable authentication for the API calls without using the authentication API call. 

Sample in Postman