How to do a Facebook OAuth Login for HANA XS App in Trial Account?

Currently I am playing around with Facebook logins from the SAP HCP Trial account.
Using the Facebook JavaScript SDK in an HTML5 app works easily with a few lines of code.
Now I try to do it in an XS application. I found this blog about OAuth2 Authentication but this does not seem to work in the Trial landscape?
I also read the blog from Chris Paine or Chris Paine but there is also Java code involved and maybe things changed in the last two years?
Then I read many help pages from SAP HCP help about OAuth, Trust etc but the more I read the more I am confused
So my question is:
How can I do a Facebook login via OAuth in an HANA XS app on the trial landscape?
Any hints or tips for further steps appreciated
Thank you for your help,
Mark
EDIT: In this tutorial from Martin Raepple is a similar scenario described (here a Cordova app authenticates with OAuth2) but my scenario should be a lot simpler because on SAP HCP I use anonymous access (no Identity Provider involved) and only the Facebook login is needed. But maybe I can use parts of this tutorial? Currently there are so many options that I cannot see which parts are relevant and which are not...

as far as I can remember, you can also try to click menu Contacts >> Contact List >> Facebook.  Then the option to connect Facebook and Skype will be presented (under the Contacts Tab).  
CONTACT SKYPE CUSTOMER SERVICE   |  HOW TO RECORD SKYPE VIDEO CALLS  | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES   |  WINDOWS PROBLEMS TROUBLESHOOTING   |  SKYPE DOWNLOAD LINKS  
MORE TIPS, TRICKS AND UPDATES AT
skypefordummies.blogspot.com

Similar Messages

  • HT204396 how do I submit a refund request for unauthorized in-app purchase?

    How do a submit a refund request for unauthorized in-app purchase?

    If you didn't make the purchase, and nobody else has access to your account or devices and made it, then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How do I turn OFF push notifications for a certain app; specifically yahoo mail?

    How do I turn OFF push notifications for a certain app; specifically yahoo mail?

    Settings>Mail, Contacts, Calendars>Fetch New Data>Push>Off.

  • How do I disable password based login for ssh

    Before upgrading to Mountain Lion I had setup my computer to allow remote login via SSH. Now that I have upgraded I can no longer login to my computer via SSH without specifying a password.  How do I get back to not having to supply a password to login?
    I created a user named `remotepair` and generated a RSA ssh key. I had setup password-less login to this user by adding the public keys of those who login to the ~/.ssh/authorized_keys file and the following settings in /etc/sshd_config
    Protocol 2
    PubkeyAuthentication yes
    PermitRootLogin no
    PasswordAuthentication no
    PermitEmptyPasswords no
    ChallengeResponseAuthentication no
    AllowUsers remotepair
    I also created a question on ServerFault about other issues I have with SSH. I solved the issue by doing a PRAM reset.
    Since my settings are no longer working for password-less login, how do I enable password-less login to my Mountain Lion enable Mac?

    Output for ssh -vvv [email protected]
    OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011
    debug1: Reading configuration data /Users/jjasonclark/.ssh/config
    debug1: Reading configuration data /usr/local/Cellar/openssh/5.9p1/etc/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to home.jjasonclark.com [50.47.10.153] port 22.
    debug1: Connection established.
    debug3: Incorrect RSA1 identifier
    debug3: Could not load "/Users/jjasonclark/.ssh/id_rsa" as a RSA1 public key
    debug1: identity file /Users/jjasonclark/.ssh/id_rsa type 1
    debug1: identity file /Users/jjasonclark/.ssh/id_rsa-cert type -1
    debug1: identity file /Users/jjasonclark/.ssh/id_dsa type -1
    debug1: identity file /Users/jjasonclark/.ssh/id_dsa-cert type -1
    debug1: identity file /Users/jjasonclark/.ssh/id_ecdsa type -1
    debug1: identity file /Users/jjasonclark/.ssh/id_ecdsa-cert type -1
    debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 Debian-3ubuntu7
    debug1: match: OpenSSH_5.3p1 Debian-3ubuntu7 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_5.9
    debug2: fd 3 setting O_NONBLOCK
    debug3: load_hostkeys: loading entries for host "home.jjasonclark.com" from file "/Users/jjasonclark/.ssh/known_hosts"
    debug3: load_hostkeys: found key type RSA in file /Users/jjasonclark/.ssh/known_hosts:20
    debug3: load_hostkeys: loaded 1 keys
    debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],ssh-rsa
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-e xchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14
    -sha1,diffie-hellman-group1-sha1
    debug2: kex_parse_kexinit: [email protected],[email protected],ssh-rsa,[email protected],[email protected],ecd
    [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-dss
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.
    liu.se
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.
    liu.se
    debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha
    1-96,hmac-md5-96
    debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha
    1-96,hmac-md5-96
    debug2: kex_parse_kexinit: none,[email protected],zlib
    debug2: kex_parse_kexinit: none,[email protected],zlib
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit: first_kex_follows 0
    debug2: kex_parse_kexinit: reserved 0
    debug2: mac_setup: found hmac-md5
    debug1: kex: server->client aes128-ctr hmac-md5 none
    debug2: mac_setup: found hmac-md5
    debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug2: dh_gen_key: priv key bits set: 125/256
    debug2: bits set: 510/1024
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Server host key: RSA 80:b1:a1:11:8f:73:3a:bf:29:04:e9:70:18:d8:d5:cd
    debug3: load_hostkeys: loading entries for host "home.jjasonclark.com" from file "/Users/jjasonclark/.ssh/known_hosts"
    debug3: load_hostkeys: found key type RSA in file /Users/jjasonclark/.ssh/known_hosts:20
    debug3: load_hostkeys: loaded 1 keys
    debug3: load_hostkeys: loading entries for host "50.47.10.153" from file "/Users/jjasonclark/.ssh/known_hosts"
    debug3: load_hostkeys: found key type RSA in file /Users/jjasonclark/.ssh/known_hosts:20
    debug3: load_hostkeys: loaded 1 keys
    debug1: Host 'home.jjasonclark.com' is known and matches the RSA host key.
    debug1: Found key in /Users/jjasonclark/.ssh/known_hosts:20
    debug2: bits set: 475/1024
    debug1: ssh_rsa_verify: signature correct
    debug2: kex_derive_keys
    debug2: set_newkeys: mode 1
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug2: set_newkeys: mode 0
    debug1: SSH2_MSG_NEWKEYS received
    debug1: Roaming not allowed by server
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug2: service_accept: ssh-userauth
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug2: key: /Users/jjasonclark/.ssh/id_rsa (0x7fbb53c14d60)
    debug2: key: /Users/jjasonclark/.ssh/github (0x7fbb53c15600)
    debug2: key: /Users/jjasonclark/.ssh/id_dsa (0x0)
    debug2: key: /Users/jjasonclark/.ssh/id_ecdsa (0x0)
    debug1: Authentications that can continue: publickey,password
    debug3: start over, passed a different list publickey,password
    debug3: preferred publickey,keyboard-interactive,password
    debug3: authmethod_lookup publickey
    debug3: remaining preferred: keyboard-interactive,password
    debug3: authmethod_is_enabled publickey
    debug1: Next authentication method: publickey
    debug1: Offering RSA public key: /Users/jjasonclark/.ssh/id_rsa
    debug3: send_pubkey_test
    debug2: we sent a publickey packet, wait for reply
    debug1: Authentications that can continue: publickey,password
    debug1: Offering RSA public key: /Users/jjasonclark/.ssh/github
    debug3: send_pubkey_test
    debug2: we sent a publickey packet, wait for reply
    debug1: Authentications that can continue: publickey,password
    debug1: Trying private key: /Users/jjasonclark/.ssh/id_dsa
    debug3: no such identity: /Users/jjasonclark/.ssh/id_dsa
    debug1: Trying private key: /Users/jjasonclark/.ssh/id_ecdsa
    debug3: no such identity: /Users/jjasonclark/.ssh/id_ecdsa
    debug2: we did not send a packet, disable method
    debug3: authmethod_lookup password
    debug3: remaining preferred: ,password
    debug3: authmethod_is_enabled password
    debug1: Next authentication method: password
    [email protected]'s password:

  • How do you turn on location services for the Photos app?

    I reset my location services and I need to reactivate the location services for those apps I want to use this function.  I have turned on location services for all other apps, including CAMERA, but I cannot figure out how to turn it back on for PHOTOS (Camera Roll).  This option did appear when I did the new iPhone5 setup, but I cannot get it back.  And PHOTOS is not listed in the apps shown under the Location Services setting page.  I set my wife's phone up too and the PHOTOS app is showing on her phones Location Services setting page.  Help please.

    Hi There
    I had the same problem and actually I found out that in Location Services you need to Turn On the option for CAMERA, as there is no photos icon.
    Cheers
    Iva

  • How do I increase the font size for safari and apps

    The new iPhone 5 has a larger screen. However, everything seems smaller. The font in most apps can hardly be read. How do I increase the default font for everything except messaging. I increased the font in the settings, which works for messaging, but that doesn't work for anything else.

    Thanks Shadowdancer, that does help a lot.
    Unfortunately Dark Menu Bar hides some of my App's dock icons,  so can't use it.
    I used instead:
    System Preferences > General> Appearance
    - Select Graphite for Buttons, Menus etc
    - Select Graphite as Highlight color
    - Turn off "Use LCD font smoothing" > the last item at the bottom of General
    The Increase Contrast Button worked best for me, it draws a box around most buttons and seems to make them darker.
    System Preferences > Accessibility:
    - Turn on "Increase Contrast" which not only turn on Reduce Transparency but adds a few other things to help improve definition between lines / fonts.

  • How to get BW Objects not optmized for HANA on just migrated System from ORA to HANA?

    http://www.saphana.com/servlet/JiveServlet/previewBody/1363-102-2-1810/SDN_HANA_opt_InfoCube%20FINAL.PDF
    HI  .....HANA Experts
    We are early birds for HANA Technology !!!
    The above link is showing how to convert and limitations etc.
    We just migrated BW from Oracle to HANA.
    Our experts converted some BW Obejcts to HANA Optimized , some still open.
    Q1) In this juncture, to take the current stcok, Do we have any report which extract  directly list of BW objects which are still not optimized for HANA.
    Q2) How to get list of tables not yet fully loaded into Memory [or] How to get list of Infocubes & DSO's not yet fully loaded into main memeory
    Q3) When we optimize objects - The size in memeory & persistance store - Size is increasing - Is it normal behaviour ?
    Rgds
    PR
    PR Srinivas

    Hi,
    PR Srinivas wrote:
    We just migrated BW from Oracle to HANA.
    Our experts converted some BW Obejcts to HANA Optimized , some still open.
    ---- DSOs should not be converted. If you still want to please check RSODSO Table and check the column IMOFL (HANA Optimized setting for the DSO).
    For the InfoCubes, please refer to RSDCUBE table and CUBESUBTYPE column with value F for HANA optimized setting.
    Q1) In this juncture, to take the current stcok, Do we have any report which extract  directly list of BW objects which are still not optimized for HANA.
    Q2) How to get list of tables not yet fully loaded into Memory [or] How to get list of Infocubes & DSO's not yet fully loaded into main memeory
    Please check m_cs_tables to know which tables are loaded to memory and which are not.(Refer to LOADED column).
    Q3) When we optimize objects - The size in memeory & persistance store - Size is increasing - Is it normal behaviour ?
    Please check the Delta memory and perform Delta Merge. Please search on SCN to get the details on the same.
    Rgds
    PR
    PR Srinivas

  • How do i set up and ipad for my children using my Itunes account without synching my data from my Iphone? (contacts, calendar, etc

    I do not want or need my contacts and calendar on their ipad, but I would like to use my Itunes account...

    It's easy enough to do. You can share one Apple ID and have your own content on each iPad. You do not have to have the same apps, music, books and so on. Set up the iPad with your Apple ID for purchases. If you want the kids to have their own iCloud accounts so that they can FaceTime and Message you can do that as well. However you do not have to setup additional Apple ID's in order to do that, it just makes it a little easier,
    Anyway, after you set up their iPad - when you go so to sync your devices, you can set your sync preferences for each device any way that you like. Using apps as an example ... This is how you can select the unique content for you own device. You can do this in every tab in iTunes .... Apps, music, photos, movies, books, etc.
    Connect the iPad to the PC and launch iTunes.
    Click on the iPad name on the left side under devices.
    Click on the Apps Tab on the right.
    Click on all of the apps in the apps list that you want to sync to your iPad..
    Click on the Sync Apps Heading.
    Click on Apply in the lower right corner of iTunes
    In the Info tab of iTunes, just don't sync your contacts or calendar to the kids iPad.
    This will be helpful.
    iOS: Syncing with iTunes

  • How to create an unsigned appxbundle file for windows store app?

    Hi,
    Is it possible create an unsigned appxbundle file for windows store app and later sign it with my company certificate?
    If yes, how can I achieve it?
    Thanks

    You would create your own appx pacakge using
    MakeAppx.exe.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to prevent more than one login for the same username

    I am trying to create a centralized login/logout for my J2EE application, i.e application level security in order to keep track of the users that login and logout to/from application. I need that in order to know which users have logged out before their sessions expire. Is there an easier way (possibly on the server level) to accomplish this.

    How is your centralized authentication service hooked up, through a custom realm?
    Unfortunately there is no notification mechanism of logout events currently. Partly due to the fact that while the a logout is sometimes explicit (session invalidated or expired) it is also at times implicit (if there is no session, the logged in user silently disappears at the end of a request).
    P.S. If you're only looking to keep track of login and access events (and not modify the behavior), the audit logging provides this information directly.

  • My wife and I have separate login for the Macbook, and separate iCloud accounts, by my contacts still sync to her iPhone. Why is this, and how can we fix it so every time she turns iCloud on, she doesn't end up with all my contacts?

    Hey everyone,
    This problem has been bugging me for a very long time, and have not been able to find the answer I am looking for.
    My wife and I both have separate iphone's with separate iCloud accounts and all. We also both use a Macbook Pro with separate logins.
    The issue is, when my wife logs in to her account on the macbook, and turns the contacts on to sync with icloud on her phone, all of my contacts are saving to her phone.
    This has happened multiple times, and she says she just wont use it, but I rather have everything work together correctly.
    Please help!!!

    If you share an Apple ID, both of your phone numbers should be linked to that ID. You should be able to use your phone number as well. My wife, my daughter and I all share an Apple ID for purchases, and we each text from our iOS devices using our own iPhone numbers.
    When iOS 6 came out, you were able to link the phone number with your Apple ID to use for Messages and FaceTime. You will need to sign out of messages on all devices and then start the process all over again.
    Take a look at this.
    iOS and OS X: Link your phone number and Apple ID for use - Support

  • Custom Login for each WebDynPro App

    Hello All,
    We are trying to develop non-Portal WebDynPro applications. Since, checking the authentication box for the WebDynPro Applications will always cause the standard UME Login Screen to appear, I was wondering if this can be customized such that I have different one for <b>each</b> Application.
    This is not about customizing Portal Login Screen.
    Thanks,
    Kiran

    Pran,
    Thank you so much for the reply.
    I have implemented it in a different way. I have a normal login jsp taking username/pwd and with the "action" pointing to a servlet. The servlet has the following code.
    IUser user = UMFactory.getAuthenticator().getLoggedInUser(request, response);
              if (null == user) {
                   try {
                        UMFactory.getLogonAuthenticator().logon(request, response, "uidpwdlogon");
                   } catch (LoginException e) {
                   RequestDispatcher rd = request.getRequestDispatcher("unauthorised.html");
                   rd.forward(request, response);
              response.sendRedirect("http://localhost:50000/webdynpro/dispatcher/local/Welcome/MyWebDynProAppl?SAPtestId=2");     
    I saw that there was a cookie being generated MYSAPSSO2.
    Now, my question is, How different is this approach compared to yours? I looked at the "Security provider" for my application in Visual admin and saw that the authentication template is "no" with just BasicPasswordLoginModule/Sufficient/{}.
    Is this anyway less/more secure than what you mentioned?
    Also, what do u suggest as a better way of redirecting? Is response.sendredirect the only option?
    Do you know what "SAPtestId=2" mean in the URL of the webdynpro application that I need to redirect to?
    Thank you,
    Kiran

  • How to define additional virtual image directories for multi lingual app.

    Hi,
    In my ApEx application, for English language I want to use default image directory /i/, but for other languages I want to use seperate image directories like /i/fr/ for French etc. In - Translate Application -> Application Language Mapping , there is a text area to capture the Image Directory.
    How can I define additional image directory (apart from /i/) in my multilingual application? What are the steps for defining these virtual image directories in a multi lingual setup?
    I am using ApEx v 3.1.2 on 11g with embeded PL/SQL gateway.
    Any suggestions or pointers in the right direction are highly appreciated.
    Thanks & Regards,
    AV
    Edited by: user11176657 on Jun 30, 2009 6:04 AM

    Hi user11176657,
    Can you use an application item in your replacement for the path?
    Then you can set it at login.
    Regards
    Michael

  • How do I make a Splash Screen for my Android App.

    Hello, I am currently making an app, for school and cant find out how to make a Splash Screen. I'm using Flash Builder 4.7 and can only find tutorials for 4.5. I just need it so that when the app opens there is not a white screen forever while its loading up, any help would be great.
    Thanks!

    Copy into Apple Pages. Export a PDF.

  • How do I get a credit back for downloading an app that I thought was free and wasn't?

    How do I get my account credited for an app download that I thought was free for my 5 year old and ended up costing $10?

    No guarantees since the terms of sale for the iTunes Store say that all sales are final, but you can contact the iTunes Store, explain the issue, and ask:
    http://www.apple.com/support/itunes/contact/
    For the future, note that in many cases a developer makes the basic app available for free as a "trial version" but then charges as an in-app purchase for various features and upgrades. You may wish to disable in-app purchases in the Restrictions in the General settings so that such add-ons can't be inadvertently purchased.
    Regards.

Maybe you are looking for