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

    Update identity provider

    Scheduled Pinned Locked Moved
    Q&A
    2
    9
    932
    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.
    • L
      laxmimalpani
      last edited by laxmimalpani

      HI

      I am not able to update google identity provider using code.

      When New Tenant and application is created then i want to enable goggle identity provider but i am facing issue.

      How i can use updateIdentityProvider() of FusionAuthClient class and how can I create instance of IdentityProviderRequest

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

        Hiya,

        I'm not sure what you are trying to do. Are you trying to enable the google identity provider for a new application in a new tenant?

        Can you do it via the UI?

        Can you write down the steps you are trying to take and how it fails?

        Thanks!

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

        1 Reply Last reply Reply Quote 0
        • L
          laxmimalpani
          last edited by

          Hello,

          I am creating tenant and appilication using API and i want to enable google and facebook identity provider using api(code wise).

          Via UI it is working fine but I want to do code wise

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

            So you have a tenant and you want to enable the google and facebook identity providers? And you can do so via the admin UI, but not via the tenant APIs?

            Is that what is happening?

            It looks like to enable an identity provider for an application, you UPDATE the identity provider with the application configuration.

            It's documented here: https://fusionauth.io/docs/v1/tech/apis/identity-providers/google/#update-the-google-identity-provider

            Have you tried to do that? If so, can you share your code or error messages?

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

            L 1 Reply Last reply Reply Quote 0
            • L
              laxmimalpani
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • L
                laxmimalpani
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • L
                  laxmimalpani @dan
                  last edited by

                  Hi

                  I UPDATE the identity provider for my new application . For new application enable is true but the existing application also changed from true to false

                  I dont want to update identity provider fro existing application How i can fix that?

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

                    Can you try the PATCH operation? I think that is what you want. Sorry about that, there should be a note about the difference between patch and update.

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

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

                      Moving to the q&a section.

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

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