Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

razai22062698
razai22062698
Offline
  • Can you please share the code piece ?

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    0
  • I feel the problem is with requesting token using Javascript, because when I requested token using JSON client like Postman or ARC(Advance REST Client) It work successfully and I got the JSON response with Access Token. Do you have idea to get Token using Javascript or AJAX ?

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    0
  • I am getting this : XMLHttpRequest cannot load https://api.demdex.com/oauth/token. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP statu...

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    0
  • Hi Unni,I have tried both beta and production site, still facing the same issue. I think this might be a cross domain issue as I am runnin code from a local file

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    0
  • Hey Aman,I am not using any tool, I am just doing it via Javascript. I feel there is some cross domain issue.

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    0
  • Hi Unni,Please find sample request below :$.get( {    url: 'https://api-beta.demdex.com/oauth/token',    type: 'POST',  dataType : "jsonp",    data: { content: 'grant_type=password&username=ABCDEFHG&password=XOXOX1234' },    beforeSend : function( xhr ) {        xhr.setRequestHeader( "Authorization"...

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    0
  • Hey,I have done just like this, still receiving the unauthorized error . Please check the code below (Note : I am running this code from a local HTML file, I have not published anything yet on the http):$.get( {    url: 'https://api-beta.demdex.com/oauth/token',    type: 'POST',    dataType : "jsonp...

    Type

    Questions

    Views

    2.7K

    Like

    1

    Replies

    0
  • Hi Gaurang,I am facing authorization issue while using this code, do you have any idea how to setup authorization as given in this link ? I have Client ID and Client secret

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    0
  • Thank you Parit hoping great answers in new community as well

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    0
  • Hey, Thank you so much Dev I already checked these links and they are really helpful. I am working on a javascript to create DMP trait in AAM and below is so far what I have created, can you please have look and suggest.var Data = '[{ "pid": 0, "name": "TestData", "description": "TestData", "integr...

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    0
Top badges earned by razai22062698
Customize the badges you want to showcase on your profile