Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Testing Windy on localhost ?

    Windy API v4
    2
    3
    664
    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.
    • Bahaa_FadhilB
      Bahaa_Fadhil
      last edited by

      We have upgraded our subscription to professional, and start to use windy Forecast Map in our application built with React.

      We have come to a problem there which is When we have upgraded the subscription to a professional plan, an authorized domain is added which is used on their system to check whether the API key is legal and is connected to the actual domain.

      But our developers often work to develop things locally on their PC before it is pushed to the test server, and then when we used a professional API key with localhost:4200 we got a message that "unauthorized domain"

      Does this mean that we cannot sit and develop things locally, nor on the test server?

      Do you have any solution to how we can develop things with Windy Map using localhost?

      The error message we have received is: "Not authorized to Windy API: Cannot use Windy API, key is used from unauthorized domain."

      1 Reply Last reply Reply Quote 0
      • SutyS
        Suty Administrator
        last edited by

        Hi @Bahaa_Fadhil this restriction is probably caused by setup of your Windy API key. You probably have inserted the domain, where you want to use this API key, so the key is protected from using anywhere else.

        However, you can delete this restriction or you can insert localhost as another possible location, where the API key can be used. You can do that here on this link.

        Bahaa_FadhilB 1 Reply Last reply Reply Quote 1
        • Bahaa_FadhilB
          Bahaa_Fadhil @Suty
          last edited by

          @Ondřej-Šutera Thank you for feedback :)

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
          NodeBB & contributors, OSM & contributors, HERE maps
          Terms of Use     Privacy Policy