Malformed request when using idp_hint
-
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}
-
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!
- The
-
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. -
-
Also, which idp were you trying to hint?
-
@dan said in Malformed request when using idp_hint:
Also, which idp were you trying to hint?
As it happens, with google
And yes to all the questions you asked above
-
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.