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

How to auto get the first/last name of user on sso external idp samlv2 login? and redirect to our site login handler?

Scheduled Pinned Locked Moved Unsolved
Q&A
2
2
433
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.
  • K
    ken
    last edited by 19 Oct 2022, 20:50

    Right now we're trying to setup an external idp samlv2 connection from okta to our application in fusionauth to support sso for our client.

    We followed all the instructions here: https://fusionauth.io/docs/v1/tech/identity-providers/samlv2-idp-initiated/okta

    After the user logs in using the okta login page, they get redirected to our fusionauth page but this shows up:
    4c2e4895-32cf-4d63-a63c-8fb01150e716-image.png

    After clicking the "Register" button, it redirects to this page
    d233c877-9017-42f0-b90c-2a0b0d05ae0b-image.png
    The login looks successful, just the response handler url seems wrong?

    1. Where is this setting set? Response handler should be venngage.fusionauth.io instead of local.fusionauth.io

    2. How do we capture the authenticated response on our own login handler (oursite.com/samlv2/login) and link the external IDP user to a new user on fusionauth without having to ask for the first/last name? Are we supposed to be using SAML v2 instead of SAML v2 Initiated?
      The desired flow should be:

    • First, user logins on okta sso login
    • Next, user is redirected to fusionauth which creates the user automatically on fusionauth with okta first/last name.
    • Next, redirects to our hosted login handler: e.x: oursite.com/samlv2/login which takes in the authentication response and user information for our site's registration.
    D 1 Reply Last reply 2 Nov 2022, 14:25 Reply Quote 0
    • D
      dan @ken
      last edited by 2 Nov 2022, 14:25

      @ken Did you get this resolved?

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

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