FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Can we use FA as a SSO provider for another platform?

    Scheduled Pinned Locked Moved
    Q&A
    sso jwt
    1
    4
    11.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      We are using FA as identity provider and also have third party identity providers configured to leverage users stored elsewhere. That works perfectly. Now we want to use FA as a SSO provider for another platform. We want to use a video platform that supports SSO and we want the platform to authenticate users in FA and then send them back to the platform with a JWT coming from FA. How would that be done? Do I create an application and use the login URL as an SSO endpoint?

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Yes, if the platform supports OpenID Connect, you’ll create a new Application and use the OpenID Connect integration details from the view dialog for the video platform.

        Here's the view page of a test application:

        Screen Shot 2020-07-24 at 9.28.42 AM.png

        The video platform may have different terms for some of these URLs.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • danD
          dan
          last edited by

          What if they want a redirect to a custom URL?

          Looks like they have some custom JWT redirect scheme. Not a standard really...
          After authentication at FA they want the JWT to go to specific URL like https://video-palform.com/api/sso/v2/sso/jwt?jwt={payload}&return_to={url to return to}&error_url={url to redirect to in the case of an error}

          --
          FusionAuth - Auth for devs, built by devs.
          https://fusionauth.io

          1 Reply Last reply Reply Quote 0
          • danD
            dan
            last edited by dan

            You’re correct. That is not a standard redirect URL. You could easily build some glue code to to look like an OpenID Connect compliant SP and then handle the redirect yourself. I am not super familiar with some of the OpenID Connect server options, but something like Hydra may be useful here. Perhaps some others from the community here can help with off the shelf options if you don’t want to code it yourself.

            But coding it yourself may be the easiest, if you coded it in Node or something like that, it would be super simple, you’d have FusionAuth redirect to your node app and then you’d redirect to the video platform.

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            1 Reply Last reply Reply Quote 0
            • First post
              Last post