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

    Using ngrok and I get an error message when viewing the admin screen

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    1
    2
    1.2k
    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.
    • danD
      dan
      last edited by

      Hiya,

      I'm using ngrok to give my local FusionAuth instance a public URL, so that I can test an app on my phone and still log in with FusionAuth.

      When I do that and log into my FusionAuth instance admin UI, I see the following Proxy Configuration Warning. It's similar to this:

      Screen Shot 2022-11-03 at 3.14.58 PM.png

      How can I fix this?

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

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

        The easiest way is to add the required header to the ngrok connection.

        Here's how you can do it:

        ./ngrok http --request-header-add 'X-Forwarded-Port:443' 9011
        

        That should fix the issue.

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

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