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

Malformed request when using idp_hint

Scheduled Pinned Locked Moved
Q&A
2
7
7.3k
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.
  • F
    fusionauth_user
    last edited by fusionauth_user 10 Feb 2020, 10:26 2 Oct 2020, 10:20

    so im trying to use the idp hint but i get the malformed request error.

    what am i doing wrong with my url?
    ..../oauth2/authorize?client_id={clientid}&redirect_uri={redirect uirl}&response_type=code&tenantId={tennantID}&idp_hint={idp_id}

    1 Reply Last reply Reply Quote 0
    • D
      dan
      last edited by 2 Oct 2020, 13:23

      Just to confirm, you are using FusionAuth v1.19.0 or later, correct? What version are you on?

      That looks ok.

      A few things to look at:

      • The idp_hint value should be a valid UUID for an IDP configured in "Settings -> Identity Providers".
      • The provider should be enabled for the application you are trying to log in to.
      • You should be able to log in using that provider without the idp_hint (by clicking the 'login with Facebook' button, for example).

      Can you confirm the above?

      Thanks!

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

      1 Reply Last reply Reply Quote 0
      • D
        dan
        last edited by 2 Oct 2020, 14:08

        Hmmm. I'm still not able to use the idp_hint with Google even though I've verified a plain login works. I'll file a bug.

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

        1 Reply Last reply Reply Quote 0
        • D
          dan
          last edited by 2 Oct 2020, 17:14

          https://github.com/FusionAuth/fusionauth-issues/issues/909

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

          1 Reply Last reply Reply Quote 0
          • D
            dan
            last edited by 2 Oct 2020, 22:35

            @fusionauth_user

            Also, which idp were you trying to hint?

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

            F 1 Reply Last reply 3 Oct 2020, 11:40 Reply Quote 0
            • F
              fusionauth_user @dan
              last edited by fusionauth_user 10 Mar 2020, 11:41 3 Oct 2020, 11:40

              @dan said in Malformed request when using idp_hint:

              @fusionauth_user

              Also, which idp were you trying to hint?

              As it happens, with google

              And yes to all the questions you asked above

              1 Reply Last reply Reply Quote 1
              • D
                dan
                last edited by 3 Oct 2020, 12:58

                Great. I've updated the documentation to reflect that google and facebook aren't supported; that'll be published next week. Sorry about that.

                More details on the bug I filed above (and the doc change linked in the bug). If you try this with SAML/OIDC and it fails, please let me know.

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

                1 Reply Last reply Reply Quote 0
                6 out of 7
                • First post
                  6/7
                  Last post