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.
Steps to execute the sample as follows:
Figure 1 Register Module
Note: Password must be in combination of one alpha (capital and small) , numeric and non – numeric (minimum 6 letters)
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
This page will automatically be redirected to the sign-in page in 10 seconds.