REST of 1.0 authentication via jQuery

Hello

I'm trying to access data objects custom through the REST API via an AJAX call but I get an error 401 Unauthorized demand. This done properly?

$.ajax ({}

type: 'GET ',.

URL: "https://secure.eloqua.com/API/REST/1.0/assets/customObjects?type=CustomObject & jsonpCallback = loadCurrentUser", dataType: "jsonp",

Async: false,

beforeSend: {function (xhr)}

xhr.setRequestHeader ("authorization", "< base64 > Basic");

},

error: {function (xhr, ajaxOptions, thrownError)

},

success: {function (data)}

}

});

< base64 > is my base64 string which I took for obvious reasons in this thread. For the unencrypted string, I use SITENAME\ACCOUNT:PASSWORD, which coincide with the credentials I use to connect to the eloqua 10 instance that I use.

I am doing this correctly?

Hey Danny,

I looked at your code - I note you use jsonp.

According to me, if you look at the actual query sent to the REST api, you will notice that the Basic Authorization header is not sent.

It's because of the way jsonp works - the actual demand has no way to send authorization headers.

Probably better explain this question on Stackoverflow: jquery - HTTP headers change for a query JSONP - Stack Overflow

If you need to put something in this way, you might be better served by creating a page or a service on your server that calls the other APIs and your javascript call this page/service.

Hope that helps,

Donald

Tags: Marketers

Similar Questions

  • The number of devices (MAB) can be authenticated via the internal identity stores ACS 5.3? ACS 1120 (802.1 x))

    Hello

    I m currently looking for a document that specify the number of MAC addresses can be stored and authenticated via a GBA (1120)? I prefer to use the identity store internal AD or LDAP for authentication of the MAB for 802.1 X project.

    I would like to know what impact the GBA? CPU/MEM?

    What is the impact on the user authentication? delay, delay, etc.

    Please specify any other restrictions or side effect.

    Thanks for your comments

    Concerning

    Torsten Hello,

    I have confirmed on our database as well as this community and the answer is the same

    Refer to:

    https://supportforums.Cisco.com/thread/2101657

    Added additional information:

    Internal Users : 300000 Internal Hosts : 50000

    Best regards.

  • Send to user datetime is authenticated via headervar

    Hello

    I asked where I should send datetime at which the user is authenticated via headervar in polidy field, OAM?

    Can you please guide me which command or funtions returns this value?

    Thanking you,
    Prashant

    Can be a technique to do: activate the oblastSuccessFulLogin attribute in the user profile by using the console of the identity and then pass in the headervar in the Policy Manager.

  • A problem when authentication via Radius ASA

    Hi all

    Please give me a helping hand. I have a problem when through ASA 5520 via Radius Authentication for ACS 4.0 via the VPN device. I need to configure secure authentication and NAC for remote user VPN. It simply does not work, but it works when you use Ganymede so all the connection seems to be ok as ACS succesfully authenticate a remote via MS AD VPN user when you use Ganymede. But I read that I can not use NAC when Ganymede using, I'm good? ASA and ACS journals indicate a problem with the shared key but I already double checked the key on both sides, the IP address is correct on SAA and I also tried all possible methods of RADIUS on SAA. Any idea where might be a problem?

    Hello

    When you use ACS 4.0, then make sure that the AAA Client for ASA entry you created on GBA, if under a NDG, then make sure that there is no key to the NDG level.

    Otherwise, pass entry client ASA as RADIUS ACS in NDG (Unassigned) on ACS.

    Kind regards

    Prem

  • ISE Sponsor authentication via RADIUS

    My client demand change us the way the sponsor users are authenticated and authorized to access portal Sponsor of ISE.

    Their similar to the request of the ISE AD via a RADIUS server first. They said "avoid sending credentials of the AD to ISE directly. Under this condition,.

    My research and limited knowledge give to assume I have to define a RADIUS Proxy

    I think I can define an external RADIUS server, but I wonder if this creation, it would be available as a Source of identity for "portal Sponsor sequence.

    If this is not the case, how can I add this? After that, what conditions or attributes should I look for to use in the 'strategy of group sponsor' in order to filter the name of user and password and allow access to employees and deny access to everyone?

    I'd appreciate advice that you can give me to offer the best recommendation to the client.

    Kind regards.

    Daniel Escalante.

    Hi sliman,.

    Unfortunately, this document is not relevant to what Daniel is trying to achieve.  There need to be able to refer to a RADIUS server as part of the Sponsor authentication process, that is not possible today.  The only possibilities are that I have indicated in my original answer.

    Richard

  • OBIEE 11.1.1.6.2 authentication via Shared Services EMP 11.1.2.2 BP1

    Hello

    No idea how to get authentication in OBIEE through shared Services to work?

    We use native Directory and MSAD SS, that's why we need authentication through shared Services.

    We were able to run it on EMP 11.1.1.3 via Server LDAP of Shared port services 28089, probably do not work now.

    I tried both of the following but still no luck:
    http://gerdpee.WordPress.com/2011/06/17/Oracle-WebLogic-and-Hyperion-shared-services-11-1-1-3/
    http://gerdpee.WordPress.com/2011/06/17/integration-sort-of-of-OBIEE-11-1-1-5-and-Hyperion-shared-services-11-1-1-3/

    Help, please. Thank you very much!!!

    See you soon,.

    Steve

    Hi Steve,.

    I read once in Metalink OBIEE 11.1.1.1.3 was not integrable with EPM Workspace. No doubt, you can check with Oracle Support once again, if they are supported for newer versions.

    Thank you
    Diakité

  • External authentication via the PHP script failed

    I'm not a PHP genius - in fact I'm not a backend coder so I'm kinda struggeling with the sample scripts - I still hope for a sample of CF....

    I'm trying to run and connect to the CAA via the command line (Terminal). I'm not sure what I'm doing wrong - this is what I'm passing:
    PHP f /Applications/MAMP/htdocs/afcs.php args - debug - host = my_pass, http://connectnow.acrobat.com, fcguru, my_login

    The username and password I spend are correct. However, I get this response:
    Error: message exception 'AFCSError' with ' < State response 'error' = >
    < error code = "AUTH_FAILED" >
    < msg > failed authorization < / msg >
    < / error >
    < / answer >
    ' in /Applications/MAMP/htdocs/afcs.php:86

    Really struggeling with this. Once again I get this working from the command line, I don't know how to call it from a script instead. I use CF on the backend, no PHP.

    Kind regards

    Stefan

    Thank you, this is very useful. It seems that I can now connect from the Terminal so that's a good start. Also, I did not see external authentication in PHP for example - I must have been blind.
    I'll see how far I get with that. What I'm trying to do is spawn new rooms based on a template on the fly, and I have some doubts, I'll be able to understand this myself.

  • Foglight authentication via a URL

    Hi guys, can I somehow pass the details of authentication (username and password) in the URL?

    A customer asked me to create a dashboard tailored to its environment for Dept. IT can see situation... so I would share link dash at his stuff IT without that users must connect to the Foglight...

    Is this possible?

    It looks that you would like to use the NoLoginUser feature where you available to the user and configure your dashboard to provide an authorized role to NoLogin.

    This way you can share the link to the dashboard and let be accessible.

  • Authentication via Active Directory

    Hello

    We got Wireless LAN Controller and 5 Access Point, its still not production.

    Connect to the gateway using WPA2 static, how can authenticate via Active Directory instead of WPA2.

    We got the domain controller Windows 2003 acting as DNS / DHCP

    Thank you

    ST

    Sure... just replied to this thread.

  • Cisco ISE 1.1.2.145 Admin authentication via the LDAP protocol

    I have configured the LDAP protocol and able to retrieve our LDAP directory structure. Now, I'm trying to point authentication "Admin Access" Source 'External identity', which is the new LDAP IS I created. But I couldn't find an option to authenticate locally if for some reason the LDAP configuration does not work. I learned that the ISE can automatically return to local auth as external sources Idenitity are inaccessible. How can I test the LDAP authentication with breaking them our Admin Access? I thought to open two parallel sessions, one with Super Admin account Local and one with the domain account. But I noticed that ISE communication is smart enough for the closing session/connection no matter what other sessions in different browsers so, basically, I can't open two parallel sessions the same machine to test. Suggestions? or am I missing something here?

    Thanks in advance.

    Hi Srinivas,

    Even if you configure LDAP as a source of external identity of admin access, you can always internal relief without having locked. According to the ISE user guide:

    During the operation, Cisco ISE is designed to "fall back" and try to perform the internal identity database authentication, if the communication with the external identity store has not been established, or if it fails. In addition, whenever an administrator for which you have configured external authentication launches a browser and initiates a logon session, the administrator must still the option authentication of demand through the local Cisco ISE database by choosing 'Internal' to the Selector drop-down storage of identity in the Connect dialog box.

    http://www.Cisco.com/en/us/docs/security/ISE/1.1/user_guide/ise_man_identities.html#wp1351543

    Please see the attached screenshot by my lab ISE:

    I configured the admin authentication against AD, but I still see both 'Internal' and 'AD' at the time of the connection.

    I hope this helps.

    Thank you

    Aastha

  • Authentication via Radius VPN

    I wonder if anyone has experience due to error.

    I have cisco ASA firewall, I configure AAA authentication to my Active Directory server. In my Active Directory server, I set up my ASA firewall as my Radius client.

    For authentication user my VPN, I set up my VPN user to authenticate through Active Directory server.

    In my Active Directory server, I have several groups. Some users are ABC GROUP, most of the users are in GROUP-XYZ.

    Users who are members of the ABC GROUP can connect successfully.

    Users who are members of the GROUP-XYZ cannot connect, keep Cisco VPN client to invite users to authenticate.

    ASA firewall gives error: load error processing useful: payload ID: 14

    When I add the user to become a member of the ABC GROUP, the user is able to connect successfully.

    Cisco ASA firewall, I see not all configurations that associate on behalf of Active Directory group.

    Hello

    Check the output of radius aaa/debugging debugging on the SAA for clues.

    I guess you are using NPS Microsoft, search newspapers all index.

    My assumption (a wild guess): check on your Active Directory directory group policies, check the 'grant dial in' setting and next to her another similar setting (I forgot the details, if there is more than one year, when I finally saw him), compare with NPS documentation and compare the two groups (pass/fail).

    Also check your policies for authentication on the network POLICY server if you have more than one.

    Hope that helps,

    MiKa

  • LobbyAdmin authentication via Active Directory

    Hi all

    I have a requirement to apply webauth on my network of comments and therefore need to configure the functionality of lobbyadmin. We will have several users login (Help Desk, receptionists, etc.) using an account of lobbyadmin and from a management point of view I prefer simply to drop existing users in a group active directory that grants them access to the rights of the lobbyadmin.

    I know the authentication can be done through RADIUS - but is it possible using AD?

    See you soon

    Rob

    No I don't think so.

    Since the lobbyAdmin are like the users who try to access the WLC through management. That's why somebody has to tell the WLC what privilege therefore have user account. Basically, LDAP can provide this info is why you ought to use the radius server if you want to use external users from an LDAP.

    But if what you want is to authenticate users AD in your authentication on the web, it can be done:

    http://www.Cisco.com/en/us/products/ps6366/products_configuration_example09186a0080a03e09.shtml

    Let me know if it answers the question.

  • Activate authentication via MS - AD

    Using JDeveloepr 12.1.3 and Weblogic 12 c

    I managed to integrate MS - AD to the Weblogic Server, in the sense that I can see users and groups from the announcement. At least, I think that it is successful.

    I developed and deployed an ADF application where I have authenticated and authorized users defined in Weblogic or secure JDeveloper.

    I have defined the business role in JDeveloper which is copied on Weblogic and created in Weblogic users and give them this role, I can't connect to my application with the correct access.


    Now, I want to take it to the next level, by logging in to the application using one of the MS - AD users.

    I am unable to do this.

    I defined the authenticator AD on sufficient and place it at the top of the list.

    I read a lot of blogs, but nothing seems to help.

    Help, please.

    Turns out I had an incorrect setting in the parameter AD.

    I removed the filter from the group, and it worked.

  • Authentication via Facebook API?

    Everyone works how to allow someone to create an account in an Apex application using their Facebook credentials?

    I confess that I have not watched in at all, just blue - mitigate an idea and I was wondering if it is possible.

    Thank you

    Stew

    It is important to know where to look first.

    -Authentication Plugin - Plugin of Facebook authentication

    Always start with www.apex-plugin.com

    Then move to google.

    MK

  • Authentication via Active Directory (11 GR 2) Oracle

    I want authenticate Oracle users through their Active Directory credentials. I followed the whole process step by step Oracle Support Communitycommunity "How to manually create an Oracle in Active Directory [820134.1 ID] context"

    OracleContext object appears in Active Directory users and computers.

    In addition, I recorded my database with domain name with the database Configuration Wizard.

    I gave any special permissions and privileges to the respective users.

    I created for Oracle users by IDENTIFIED worldwide as "cn = xx, xx = dc, dc = xx"

    When I try to log-in good sqlplus with newly created users I get the error of:

    ORA-28044: unsupported directory type

    I need to create Oracle Internet Directory, or of the foregoing is possible?

    So just use Active Directory directly without any OID/synchronization integration?

    Any ideas?

    The answer given by the Oracle Support:

    "You cannot use AD directly for authentication. You need an OID / OVD in the middle. AD cannot be used directly for Enterprise User Security. "

Maybe you are looking for

  • How to import outlook contacts?

    I'm trying to import outlook contacts into my S6 wife's iPhone, but it doesn't seem to work properly. I'm importing via iTunes, but what I see is the name, but for most of the contacts both the email and phone number is missing. What is the right way

  • Creating a good abc file for OCR

    Hello I'm looking to generate training for my text VI recognition data programmatically. I found a VI of pre-existing (https://decibel.ni.com/content/docs/DOC-26398) which takes a string and generates a .abc. However, the results were not too accurat

  • New SSD - moving factory to new SSD HDD (windows7) BONES?

    How to: move BONES (windows7) of the factory to new SSD HDD? Thank you

  • Unique identifier of a cRIO system

    Hello I'm looking for a way to get an identifier unique cRIO system. It must be possible to read this identifier for the application that is running on the cRIO. I can imagine it might be possible to get the MAC address of the network interface, or p

  • Iwin games installation problem

    I installed iwin games on my pc in the past without problem.  Lately when I buy them I get a message that says "microsoft has encountered a problem and needs to close."  I tried unstalling the game Manager and when I try to uninstall the game, I see