Some troubles to setup SSO for my site+forum

  1. https://docs.vanillaforums.com/help/sso/jsconnect/#how-it-connects here : "Clicking the “Sign In” button in Vanilla generates an asynchronous request in the user’s browser session back to the main website. " , but, my browser redirects to my site on jsconnect page (that i have created) and nothing else, and NOT an asynchronous (json,jsonp) request in browser. :(
  2. I did not found the all steps for setup forum SSO with my site. :/ Yes, i used https://github.com/vanillaforums/jsConnectPHP to create my page mysite_/jsconnect_ but what the next? just ouput some json and what the next? maybe should i send these data to some forum endpoint? i have tried send it to forum_/entry/oauth2_ and forum_/entry/jsconnect_ but nothing happends :angry: on /entry/oauth2 i have got : "Whoops! The code parameter is either not set or empty." but i can't see description of parametes in forum docs :(

Comments

  • LincLinc Director of Development Detroit Vanilla Staff

    my browser redirects to my site on jsconnect page

    It sounds like you've misconfigured it. The "Sign In" URL in the Dashboard is for your sign in form page, NOT the authentication endpoint you made in JSConnect. They are 2 very different things.

    maybe should i send these data to some forum endpoint?

    No, the auth endpoint simply puts out JSON. When your configuration in the Dashboard is correct, it will work as intended.

    i have tried send it to forum_/entry/oauth2_

    OAuth has nothing to do with this. They are very different and incompatible systems.

    MelanieAttt
  • ok, i can't find jsConnect in Addons and Plugins ...
    as described here:
    https://docs.vanillaforums.com/help/sso/jsconnect/#tightening-the-integration
    i found OAuth2 SSO plugin only :/ and had configured it.
    "The callback url for this forum is https://local-forum.fitbase.de/entry/oauth2" - in header of this plugin settings.

    i have filled :

    Client ID - Unique ID of the authentication application.
    Secret - Secret provided by the authentication provider.
    Authorize Url - URL where users sign-in with the authentication provider. (to my site/jsconnect)
    Token Url - Endpoint to retrieve the authorization token for a user.
    Profile Url - Endpoint to retrieve a user's profile.
    also i have checked " Make this connection your default signin method."

    or how can i setup jsconnect sso ?

    here https://docs.vanillaforums.com/help/sso/jsconnect-quickstart/#functions-you-ll-need just described what i need, but no any about the steps or what exactly and how can i setup SSO to works on forum with my site. :(

  • When your configuration in the Dashboard is correct, it will work as intended.

    Where and how can i configure the Dashboard to use jsConnect with my site?

  • LincLinc Director of Development Detroit Vanilla Staff

    jsConnect is a separate addon that you must download and install from this site.

    OAuth2 and jsConnect are incompatible. Telling me how you set up OAuth2's plugin isn't relevant to getting jsConnect working.

  • jsConnect is a separate addon that you must download and install from this site.

    i can't see in the docs about :(
    Okay, where i can read about how to (from) download and install ? and how to setuo jsConnect on forum config? (dashboard)
    thanks

  • i have configured jsconnect endpoint (page) on my site like shows here https://github.com/vanillaforums/jsConnectPHP
    but how can i configure forum to use it?

  • Just to further what Linc is saying and to clarify what you are doing...

    Are you trying to connect with Oauth2, or jsConnect? Those are two separate ways of creating an SSO environment.

    Donovan

  • Are you trying to connect with Oauth2, or jsConnect?

    with jsConnect with https://github.com/vanillaforums/jsConnectPHP on my site side.
    how can i configure forum to use it? i don't see the step's with description (configurate or settings) in Docs :/

  • From https://docs.vanillaforums.com/help/sso/jsconnect/#technical-overview

    Vanilla’s web-based single sign on (SSO) has 2 parts:
    1. Your SSO endpoint (based on one of our example libraries) on your site.
    2. Vanilla’s jsConnect plugin.

    i can't find this plugin, where i can get it and setup?

  • ahh, i see https://open.vanillaforums.com/get/jsconnect-plugin-1.5.4
    but why Docs contain this plugin as default.... hm , and does not have description where from and how to install it.

  • Most all plugins are at the same place:
    https://open.vanillaforums.com/addons

    Vanilla's business model, much to our disliking sometimes ;-), is focused on their paid customers. That said, it is encouraging to see Linc helping you here! In general though, they don't hand-hold the open-source community... and believe me, at times, I wish they did. ;-)

    You have to figure out a lot of this stuff on your own or with the support of a few good folks on the forum.

    Search for the client Libs on github ("vanilla jsconnect") for examples.

    Donovan

Sign In or Register to comment.