Hello, everyone. I managed to set up my instance and started playing around with admin settings. I put an instance in the allowed instances list to figure out how that worked, now I can’t undo it. The allowed instance doesn’t show up in the field for editing, but it does in the instances page. I can overwrite the allowed instances with others, but I can’t completely remove them. I’m at a loss about where to go from here, I would like to remove the allowed list or otherwise restore the ability to federate with all instances. Thanks 🙏

I commented a solution

  • babbiorsetto@lemmy.orefice.winOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I figured it out after a good night’s sleep.

    The UI doesn’t let you send a request with empty allowed instances, it either sends an array with your picks or no array at all if you selected none. To reset allowed instances you need to send an empty array to the API.

    The easiest way to do it is

    • Open browser devtools network tab or equivalent
    • Send a request with at least one allowed instance
    • Edit the request JSON body to empty the array
    • Resend the request

    I think Chrome lets you copy the request with authentication to send with something like curl, I used Firefox which lets you edit and resend directly.

    Peace ✌