We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use oAuth in Grid with ejDataManager

Platform: JavaScript |
Control: ejGrid |
Published Date: July 13, 2018 |
Last Revised Date: July 13, 2018

Data Manager with OAuth Support



How can we use OAuth support in ej.DataManager?


Here we have passed the “Authorization” token through headers (Customer Http Headers) property in ej. DataManager to authenticate the users. For example , we have used “OAuth1.0” in below code . So Please ensure followings:



OAuth 1.0 requires client to send two security token for each API call , and the use both to generate the signature.
Note: Signatures are not required for the actual API calls once the token has been generated in OAuth2.0. It has only one security token.
For Your convenience we have attached the sample and the sample can be downloaded from the following link:
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/ejDataManager_with_oAuth-314204440.zip

 Steps to execute the sample as follows:
1. Run the sample and Register the credential. The “Register Module” is entry level of this application. Each user must be register in his credential in this module.

Figure 1 Register Module


Note: Password must be in combination of one alpha (capital and small) , numeric and non – numeric (minimum 6 letters)
2. success full register 

Figure 2 Registration success page


3. successfully login oAuth pass authorize token

Figure 3 Check authentication token


4. The “DataMangerModule” we can access authorized through the ej. DataManager.

Figure 4 Access got throw dataManager

You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon