logo_ignite_Final.gifIn February, I published the post Tales of Mystery and Authentication in which we announced the highly anticipated auto login feature, immediately followed by A Necessary Update On Auto Login just to announce it was disabled again. A couple of issues with the platform dealing with the rising amount of permission checks to be managed and the resulting performance impact made it necessary for us to go back to our office cubes and fix them.

To remind you, the promise of auto login is to get you logged in to SCN automatically at visit without having to click on the login link in the header. In order to achieve this it is relying on an existing authentication session either via checking Remember Me in the login screen or having a browser certificate in place. Tales of Mystery and Authentication has more details on the exact working of this feature.


You may notice that it is close to four months now since A Necessary Update On Auto Login was posted and expectations where to have this fixed much sooner. We used the time to analyse the implementation with the SAP ID Service team and build a more robust, scalable version of auto login. We also improved our load testing framework to simulate the much higher number of authentication requests by removing the dependency to the number of test accounts. In between there was also the SCN Gamification release, which we have been working on in parallel for the whole time, not to mention the SAP ID Service team releasing Social Login via Twitter and Facebook.

That said, since last Monday, auto login has been enabled and we haven’t seen any significant issues since then, which is why I’m confident that auto login will stay with us.

The basic architecture hasn’t changed. We still rely on a cookie called IDS_PassiveLogonDone, as described in Tales of Mystery and Authentication. Cookie handling can be hard with the client side browser and all its modern extensibility options in place. In case you see auto login not working as expected on your side, please head over the the SCN Support space and let us know. Feel free to leave a comment here and let us know how it is working for you.

Oliver

To report this post you need to login first.

44 Comments

You must be Logged on to comment or reply to a post.

  1. Steve Rumsby

    Yup, works fine for me too. And it also works perfectly in the Chrome browser on Android devices, now that the browser supports certificates.

    Steve.

    (0) 
  2. Steve Rumsby

    I have had one instance today of not being auto-logged in, but that was after being auto-logged out. I’m guessing the two are related.

    (0) 
  3. Jelena Perfiljeva

    Thanks for the update, Oliver!

    Works for me too, although for some reason I’m getting logged out without any notice sometimes – only find out when trying to post a comment. Is there a timeout limit?

    (0) 
  4. Nicolas Busson

    Thanks a lot for this long-awaited functionality. It’s working great!

    I guess there are at least a couple of ideas posted on ideas.sap.com that will no longer have the status “submitted” then…

    ๐Ÿ˜‰

    See:

    1. https://ideas.sap.com/ct/ct_a_view_idea.bix?c=8A060447-ED55-41EB-905E-C077161D66AC&idea_id=64249AF2-5B3C-4CA6-95BE-54D91B4629F2 by Uwe Fetzer
    2. https://ideas.sap.com/ct/ct_a_view_idea.bix?c=8A060447-ED55-41EB-905E-C077161D66AC&idea_id=23F147CE-2E2E-4CFD-BACF-3AFCAB6E140E by  Pascal Bellerose 
    (0) 
  5. Jรผrgen L

    I actually feel bad in not posting an enthusiastic comment like the previous speaker,

    But almost at the same time SCN  started with  an issue I reported here:

    Synchronization issues? how to mark a discussion permanently as read?

    Today it happened again that all discussions showed up with 1 hour difference in Activity and communications stream, while I could see them already in the forum contents page

    Is it certain that this is not linked to each other?

    (0) 
    1. Oliver Kohl Post author

      Hi Jürgen,

      this isn’t related at all. Some issue with our so called Activity Engine. We are working on it.

      Best,

        Oliver

      (0) 
  6. Samuli Kaski

    Earlier Today, couple of hours ago, I was logged off after maybe 10 minutes of inactivity. In order to login again I had to press the Login link in the header twice. Just in case you are not aware of the issue. I have a SMP certificate which I use to login.

    (0) 
    1. Steve Rumsby

      Over the last couple of days I too have had instance where auto-login didn’t work. Sometimes on my Mac with Chrome browser, sometimes on Android phone/tablet with Chrome. In all cases I have a login certificate.

      In fact, right now I have my Nexus 7 tablet working correctly with auto-login and my Nexus 4 phone not. Very odd.

      Steve.

      (0) 
  7. Kumud Singh

    Thanks Oliver! I have been enjoying all your related blogs about SCN.

    I am wondering if the issue, that when I click on a wiki link from a blog/document my login becomes ‘Welcome Guest’,  is already being looked upon/reported? Thanks.

    Regards,

    Kumud

    (0) 
    1. Oliver Kohl Post author

      Hi Kumud,

      this is a known issue. The whole SSO stack has changed massively over the last couple of years and the Wiki hasn’t been upgraded to work with the new stack yet. There is an upgrade scheduled for later this year, which should take care of it.

      Best,

        Oliver

      (0) 
  8. Rick Bakker

    Mostly auto-login works, but not always. Just had it not work on Windows 7,

    Chrome Version 27.0.1453.110, where I had been previously logged in to SCN but had closed that tab and re-opened one a few hours later.

    (0) 
    1. Rick Bakker

      Same with Windows 8 (as above with Windows 7). Maybe it’s because of Chrome?

      Don’t get me wrong, it’s a great improvement!

      ETA: I tried it again today (on Windows 7 and Chrome). Closed the tab and re-opened it 61 minutes later, no problem. Closed it again and tried again 96 minutes later and there was no auto-login.

      regards

      Rick

      (0) 
      1. Oliver Kohl Post author

        Hi Rick,

        I would assume you triggered the Remember Me checkbox when logging in via username/pw right? Do you see the IDS_autoLoginChecked cookie in FF after the login? If you delete it manually does it work then?

        If this issue reproducible, please open a thread in the SCN Bug Reporting [Read-only] space.

        Best,

          Oliver


        (0) 
        1. Rick Bakker

          G’day Oliver,

          I’m still trying to figure out what “FF” is but I did locate that cookie and delete it and it does indeed seem to have made a difference. I killed the tab in Chrome and returned nearly 2 hours later and I got logged in automatically. Great! This was on Windows 7, by the way.

          Thanks, good work in getting this fixed.

          regards

          Rick

          (0) 
  9. David Bann

    Unfortunately the auto-login doesn’t work for me… I have to click on the login button before it logs me in (without asking for username and password)… It lasts for a short while, but if I close all sessions and start again later then it requires me to click the login button again.

    (0) 
    1. Oliver Kohl Post author

      Hi David,

      there is a session cookie IDS_autoLoginChecked which if present will prevent the auto login. Closing the browser should delete the cookie, but you can try to do it manually.

      Did you try different browsers already?

      Best,

        Oliver

      (0) 
  10. Jeanne Carboni

    I had an issue with auto login as well.  Logged me out over night. Had to click login to get back in.  Seems to be working sporadically.

    Needs more tweaking???

    (0) 
    1. Oliver Kohl Post author

      Hi Jeanne,

      based on the overall feedback I strongly disagree with auto login working sporadically. It works in between certain boundaries and we are constantly improving the service. If you see a specific use case not working for you, please file a bug report.

      Thanks,

        Oliver

      (0) 
  11. Peter Chen

    I got a new SAP ID from a new company…yet I had saved a ton of contents and bookmarks under the old ID….Understanding the profile merging is still a challenge for SCN, can I choose not to have auto-login ?  I need to continue my old profile….Thanks.

    (0) 
    1. Oliver Kohl Post author

      Hi Peter,

      please contact SCN Support. Switching your user ID isn’t an issue at all. Just make sure you don’t create any content on the new account. Support will help you with the account switch.

      sapnetwork@sap.com

      Best,

        Oliver

      (0) 
  12. Bret Halford

    The autologin is not working for the Wiki section of SCN

    I log in to SCN

    Navigate to the SCN welcome page http://scn.sap.com/welcome

    Scroll down to the bottom left and click on the “Wiki” link.  (still logged in)

    I’m now on Moshe’s “One Big Happy Family: The New SCN and the Wiki” blog (still logged in)

    Click on the “click here” link at the start of the blog.

    Now I’m on the SCN Wiki Homepage http://wiki.sdn.sap.com/wiki/display/WHP/Home

    but no longer logged in, I’m “guest” until I click on “login” again.

    -bret

    (0) 

Leave a Reply