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

    Send custom query param to identity provider (screen_hint)

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    1
    1
    25
    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.
    • E
      elliotdickison
      last edited by elliotdickison

      Background

      I've integrated a third party OIDC IdP with FusionAuth. This IdP supports a non-standard screen_hint query param on their OAuth authorization endpoint. If the IdP receives screen_hint=register at their authorization endpoint then they will render their registration page by default instead of their sign in page.

      End goal

      I would like to be able to send a user to FusionAuth with both the idp_hint and screen_hint params set and have the screen_hint parameter be passed on to the IdP's authorization endpoint. This will allow me to render a "Create account" button in my app that will send the user straight to the IdP's registration page.

      What I've tried

      I've tried digging through FusionAuth docs, poking around our custom freemarker templates, watching the network tab, and searching through this forum but have come up short. An adjustment to our custom freemarker theme templates seemed like the best bet, but it appears the IdP authorization request is constructed on the server so no amount of tinkering with client-side logic can add a custom parameter. I also want to make sure that this parameter is compatible with idp_hint, and I'm not confident any client-side theme logic would be compatible with that since idp_hint is designed to skip the UI.

      Any solutions or workarounds would be appreciated!

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