Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Authentication for this app

    GeoIP Service
    2
    5
    276
    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.
    • E
      esawtooth last edited by

      This app does not have any authentication and would be publicly accessible. Can this support the use of the proxyAuth addon to put it behind the common cloudron authentication gateway?

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @esawtooth last edited by

        @esawtooth I guess what's required is a way to auth with a token? If we put the new proxyAuth, then one has to create a cloudron user and then create a dummy password etc. Would an API token be enough?

        E 1 Reply Last reply Reply Quote 0
        • E
          esawtooth @girish last edited by

          @girish Yes, that'd work! I just think there should be some way to prevent a huge flood of requests hitting that app because some 3rd party found an open endpoint and decided to (ab)use it. The token strikes to me to be a better solution than the auth gateway too, since then it is easier for us to hit the endpoint as well from a script.

          1 Reply Last reply Reply Quote 1
          • girish
            girish Staff last edited by

            I have added a way to set an access token now - https://docs.cloudron.io/apps/geoip/#access-token

            E 1 Reply Last reply Reply Quote 3
            • E
              esawtooth @girish last edited by

              @girish Thanks a ton for the rapid update! This is going into my cloudron now 🙂

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB