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

    Start OIDC flow through FusionAuth API

    Scheduled Pinned Locked Moved
    Q&A
    2
    2
    512
    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.
    • T
      tim 0
      last edited by

      I'm wondering if there is a way to start an OIDC login programmatically using the FusionAuth API? I have the OIDC identity provider configured in FusionAuth, see the 'login with' button which works, but would like to simulate a click on that button through a FusionAuth API call. The company that hosts the 'login with' IDP would like to initiate the 'login with' from their side providing a single click login for their users as opposed to a two click approach.

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

        Hiya,

        I think this is what you are looking for:

        https://fusionauth.io/docs/v1/tech/apis/identity-providers/openid-connect/#complete-an-openid-connect-login

        So you aren't so much starting the OIDC flow as finishing it. This would be if you were building your own login form.

        Another alternative that I think does what you want is to provide an idp_hint parameter, which will direct the user right to the correct login form, without requiring an additional click: https://fusionauth.io/docs/v1/tech/identity-providers/#hints On a re-read of your question, I think that's what you're looking for.

        If I misunderstand your question, please let me know.

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

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