HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Auto login or bypass "Sign in with {site_title}" link for Vanilla jsConnect

Hi,

We have integrated SSO jsConnect and it working nicely. After user login on website, if users open forum page(http://mysite.com/forums) they always have to click "Sign in with {site_title}" link to login into the forum system.I don't want users to click "Sign In with {site_title}"link again for just login, basically I want to automate that things anyways.Please find my setup as below.

Vanilla Version: 2.5.1

Vanilla jsConnect Settings:

Version: 1.5.4
Authentication URL: http://mysite.com/sso
Sign In URL: http://mysite.com/login?Target={target}
Registration URL: http://mysite.com/register
Sign Out URL: http://mysite.com/sso-logout
Make this connection your default signin method: Enabled
This is trusted connection and can sync roles & permissions.: Enabled
Signing In "Auto Connect" option is enabled.

User Registration Settings: Connect

Please guide me on this.Thanks

Comments

  • Hi, have you figured out how to deal with this issue?
    thanks

  • ab3vab3v Gujarat New

    No not yet any idea will be of great help

  • we were using this plugin https://open.vanillaforums.com/addon/jsconnectautosignin-plugin for vanilla 2.1 and it worked fine, but after migrating to 2.5 it fails (most probably not compatible)

  • ab3vab3v Gujarat New

    Thanks for your help

  • R_JR_J Ex-Fanboy Munich Admin

    There is a chapter in the documentation concerning SSO. Maybe you could get important there?

  • ab3vab3v Gujarat New

    What we have done is that when user get logged into our system we call forums/sso in hidden iframe which eventually automate whole process of auto login in forum Thanks for help R_J

  • We're also facing the same issue. SSO works, but users will still need to click on the "Sign in with {site_title}" link.

    In our case nothing is prompted that would require user input. Clicking on the link basically just logs you in without any notice.

    Is there maybe a possibility to write some javascript to automatically click this link for the user?

  • On your mother site, you can write your own script to redirect user upon successful login.

    if($successful){
    //go to forum.example.com/sso
    }
    else{
    //retry
    }
    

    What is your mother site like, WordPress, custom, another CMS ???

Sign In or Register to comment.