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

    Start OIDC flow through FusionAuth API

    Scheduled Pinned Locked Moved Q&A
    2 Posts 2 Posters 1.3k Views 1 Watching
    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 - Identity Without Constraints
        https://fusionauth.io

        1 Reply Last reply
        Reply Quote 0
        • danD dan moved this topic from Q&A on
        • danD dan moved this topic from Frequently Asked Questions (FAQ) on

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post