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

    Remove port from Redirect URL for Identity Provider

    Scheduled Pinned Locked Moved
    General Discussion
    2
    4
    2.6k
    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.
    • M
      mvanzyl
      last edited by

      Hi folks

      I have an instance of FusionAuth running in a docker container.

      When I create an OpenId Connect Identity Provider for Azure, FusionAuth generates a Redirect URL for me. The problem is that the redirect URL starts with https:// but ends with specifying Port 80.

      So my redirect URL is https://mysite.com:80/ which is proving to be problematic as I am getting a Connection is not Secure error message after I get redirected back to FusionAuth from Azure.

      When I view my Application registration, all the URLs end with the :80 port.

      Is there a way to remove the port from the Redirect Url, and /or from the Application?

      Thanks

      danD 1 Reply Last reply Reply Quote 1
      • danD
        dan @mvanzyl
        last edited by

        @mvanzyl Are you using a proxy?

        If so, perhaps you need to set some proxy headers, as outlined here:

        https://fusionauth.io/docs/v1/tech/admin-guide/proxy-setup#headers-to-set

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

        M 1 Reply Last reply Reply Quote 0
        • M
          mvanzyl @dan
          last edited by

          @dan I'm not sure about the Proxy, I have installed FusionAuth via CapRover and it seems like quite an old version. (1.7)

          I'm guessing that there are configurations to be done during the setup as all the URLs from my .well-know are also https://....:80, but I am not sure where to start.

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

            @mvanzyl I would start by upgrading FusionAuth. 🙂

            1.7 is quite old (more than 3 years), so most of the docs won't be useful to you.

            Can you share how to get FusionAuth upgraded in CapRover?

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

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