Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Problem Jsconnect with my site

Hello,
i am trying to use Jsconnect with my webiste.
But that no working good.
My endpoint work well, the test link is ok.
Exemple :
http://domain.dev/users/endpoint?client_id=2023802623&timestamp=1476295793&signature=09c97291e30526be961a70ec93c218f5&Target=/settings/jsconnect&callback=test

But when i connect to the forum with a new user (new email adress), any user will be create.

I don't understand this in guide :
"When linking or redirecting signed-in users to your forum, use the /sso endpoint on the forum. This triggers jsConnect’s user lookup on the connection with “default sign in method” selected without the user needing to click. Optionally, you can provide a Target parameter with a relative path to specify where they should ultimately land on the forum. Example: http://forum.yoursite.com/sso?Target=/categories. This is the final critical step in a fully seamless experience."

I try this :
http://griphus.dev/forum/sso?Target=/categories
(because my url forum is "http://griphus.dev/forum")

But i have a empty white page and any user create ...

Can you help me ?

Comments

  • Options

    The plugin is installed correctly & the remote authentication URL looks good. When we hit the "test" button we go to the page on our system containing the following text:
    toto({"uniqueid":"5","name":"lupyo","email":"contact@domamin.com","photourl":"","client_id":"2023802623","signature":"13a3bc523c8e13493df8d44329e33ff0"})

    We use this :
    https://github.com/vanilla/jsConnectPHP

    Now when we go to our forum, They are the name "lupyo" but The sign in buttons & register buttons are shown ??
    we are never signed in. And the user is not created in the database.

  • Options

    I'm tired, there's absolutely nothing that works with this forum ... BYE

  • Options
    rbrahmsonrbrahmson "You may say I'm a dreamer / But I'm not the only one" NY ✭✭✭

    @lupyo - there's a lot working in this forum and it's very flexible. That flexibility is a double edge sword - on one hand you have the power to control a lot in terms of information content and presentation, and on the other that power comes with some complexity. My guess is that you could tie yourself with another technology and then down the road find that your hands indeed are tied.

    I haven't used JS Connect so I can't help you specifically. This is a volunteer forum (like me - I'm not affiliated with Vanilla) so if you feel that your questions are ignored or unanswered there's a good chance that your posts were simply missed. Do a search for Jsconnect and see from the search results posts who are the volunteers who have responded to related questions and then and only after you've given few days for people to react you can post a follow up with reference to a volunteer responder by entering their username preceeded by the @ symbol.

  • Options
    hgtonighthgtonight ∞ · New MVP

    The links in your question are no longer live. A properly configured site using jsConnect will present the following user experience.

    If the user is logged in on the base site:

    1. User visits forum home page.
    2. Their user name is shown in the sign in panel.
    3. The user clicks their name
    4. There is some redirecting (and a connecting throbber)
    5. The user is presented with the forum home page while being signed in

    If the user is not logged in on the base site:

    1. User visits home page.
    2. There is a button to "Sign in on Main Site"
    3. User clicks button
    4. User is presented with the main site sign on
    5. After successful login, redirected to forum site

    You can modify this for a more seamless experience using the sso endpoint, the auto connect plugin, and only showing the direct forum link for signed in users (show the sign in on main site with redirect to forum for logged out users).

    It depends on how you want/need your forum set up.

    Note that jsConnect requires the user to have JS enabled to work automagically.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    thank you but I definitivly cancel the idea of using Vanilla. I was not able to properly use JSconnect despite many hours spent. I opted for another forum.
    thank you for your help.

  • Options
    rbrahmsonrbrahmson "You may say I'm a dreamer / But I'm not the only one" NY ✭✭✭

    ;-(

    @rbrahmson wrote:
    My guess is that you could tie yourself with another technology and then down the road find that your hands indeed are tied.

  • Options
    RiverRiver MVP
    edited October 2016

    @lupyo said:
    thank you but I definitivly cancel the idea of using Vanilla. I was not able to properly use JSconnect despite many hours spent. I opted for another forum.
    thank you for your help.

    you gotta do what you gotta do. The best software is the software you feel comfortable with.

    I know there is this sso video.

    https://www.youtube.com/watch?v=mm7TBtJeP5A

    maybe a jsconnect video, and a video for each of these 
         PHP jsConnect client library
         Ruby jsConnect client library
         Java jsConnect client library
         .NET jsConnect client library
    
     would keep people from giving up.  which some have done.  But if it takes 2-6 hours to set up it might be condensed :)
    

    from docs. http://docs.vanillaforums.com/help/sso/

    Why jsConnect?

    SSO systems are complex. Setting up your own SAML or OAuth system takes a lot of time, and generally is not feasible for small-to-medium business owners.

    If you have a website that stores your user’s identity and the only thing you need to integrate is a forum, jsConnect is a far simpler solution. This is because we’ve abstracted most of the work to our side of the connection, and provide sample code for making your side.

    However, even our easier solution does require a developer on your team. A developer can typically set up the client side of jsConnect in 2-6 hours using our technical documentation. The only exception is WordPress users, for which we’ve developed a ready-to-go SSO plugin.

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

Sign In or Register to comment.